CakePHP-Proffer icon indicating copy to clipboard operation
CakePHP-Proffer copied to clipboard

Add documentation about validating file extensions

Open davidyell opened this issue 8 years ago • 1 comments

Add documentation for security purposes advising people to always validate their file upload extensions, so that they don't allow people to upload php files to their server, for example.

davidyell avatar Feb 15 '17 14:02 davidyell

Just a quick note from experience (today): I could easily get Proffer + upload to work with Cake3's "mimeType" validation, but whatever I'd try with the "extension" validation from Cake3, I just couldn't get it to validate ( even though request data in logs looked right and mimeType does work, so it must have access to the right data ). No time at the moment to further investigate it, so it could still be my fault and not a bug. Just my 2 cents, back to work 💃

isemantics avatar May 09 '17 13:05 isemantics