...

View Full Version : "Securely" allow image uploads



Keleth
09-16-2011, 02:10 AM
I quoted securely, as security is relative, but...

Is there a technique to make sure a file someone uploads is an image? Obviously just extension isn't sufficient, and I know checking mime types is a method of confirming file type, but I don't know how effective that is. I also considered using the various techniques to convert the file into a raw then into a jpg to make sure.

I'm assuming the techniques to check file type would be assessed server side, as I'm not aware of any client side techniques to check file types?

durangod
09-16-2011, 02:38 AM
check this link out there is a final version at the end, i learned a whole new way to check the types in this. With much help from the great people here.

http://www.codingforums.com/showthread.php?t=217488



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum