Andrew Gargan
Member since Jul 10, 2009
- Profile: /members/3771-andrew-gargan.htm
- URL: http://www.osite.co.za/
- Comments: 3
Recent Blog Comments By Andrew Gargan
-
Ask Ben: Limit File Upload Size In ColdFusion
Posted on Jul 10, 2009 at 8:47 AM
This is after the upload of the file. The idea is to do Content Inspection to determine the MIME type of the file and this is something GNU file does really well. The internal Coldfusion file information stuff should be fine but you mentioned previously that the mime-type stuff was not so great. I... read more »
-
Ask Ben: Limit File Upload Size In ColdFusion
Posted on Jul 10, 2009 at 5:24 AM
oops forgot the util URL http://gnuwin32.sourceforge.net/packages/file.htm... read more »
-
Ask Ben: Limit File Upload Size In ColdFusion
Posted on Jul 10, 2009 at 5:21 AM
Just a thought. There is a nice GNU-Util you can use called "file" that is shipped with linux but also is available for windows. What it does is check the contents of a file to determine its type. This means you can identify files from their contents rather than an extension which is easily faked.... read more »