Security tips on uploading images with php [closed]

1

I would like tips for a secure upload of images with php. Many users will have access, what security tips would you give?

On the internet, I found the following tips:

  

1st - Validate file size (bytes);

     

2nd - Validate width;

     

3rd - Validate height;

     

4º - Validate extension;

     

5º - Validate Mime Type;

     

6º - Remove the points, before the extension (or code the name with   MD5);

     

7º - Validate the binary file of the image ... ex: PNG = ‰ PNG

Is there anything else I can do to keep the upload safe?

    
asked by anonymous 03.04.2016 / 20:28

0 answers