Server to store images

1

I would like to know about saving image after upload.

Is it safe to save image to the site's own directory or is there any server for it?

For example, I have a news site and after you subscribe to the news, the selected images are converted and sent to the site's own directory, if the site starts to receive a lot of news, the directory will fill up an hour!

So I have some service where I send the files and in the directory of the site I only keep files simpler? I did not find much on the internet on this topic, can you give me some help?

    
asked by anonymous 29.12.2016 / 00:35

1 answer

1
  

Is it safe to save image to the site's own directory?

The issue of security will involve many other things, such as how your entire application was developed, the configuration of the services on the host, and more directly to the question on how upload validation was done. >

  

Is there any server for this?

Yes, you can easily search for Image Hosting Services API that you will even see some free for that.

Another solution is to think about distributing your content to other hosts thinking about performance issues, for example. I could stretch to talk about this idea but in these two links below have good answers about this:

29.12.2016 / 01:13