Closed (fixed)
Project:
MimeDetect
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2009 at 20:05 UTC
Updated:
29 Apr 2009 at 19:30 UTC
On the project page it says that the mimedetect module is highly recommended. Can someone provide some information on what it does and what I would be missing out on if I didn't have it.
Thanks!
Comments
Comment #1
quicksketchThe project page gives you a basic idea: http://drupal.org/project/mimedetect
But in short, it makes it harder for users to upload files that don't match their extension. For example, a malicious user might upload a PHP file that is renamed to script.jpg. Mimedetect actually opens the file, checks to make sure that it's a JPG before its accepted (note that Drupal provides additional protection against uploaded PHP scripts from being executed). It's also handy to just prevent accidents, like a PNG file that accidentally was saved with the extension .jpg.
Comment #2
quicksketchThis question should have been asked in the MimeDetect queue. I'll leave it to drewish if he thinks a more extensive description is necessary for the project page.
Comment #3
Flying Drupalist commentedThanks a lot, :) Now it makes sense to me.
Comment #4
drewish commentedfrom the project page (which it sounds like you've already read):