Reply to Re: Gif Security Issue

Re: Gif Security Issue new!
by colin, 15 years, 5 months ago
The best protection against this is with an .htaccess file, as the article explains.

As for the class, depending on your server configuration, it does a lot of checks on the uploaded file to determine its MIME type. It is using Fileinfo PECL extension, UNIX file() command, MIME magic, and getimagesize(), in that order, which should catch malicious files.

Then, you can instruct the class to accept only some MIME types, or refuse some.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important