Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Add documentation about validating file extensions #221

Open
davidyell opened this issue Feb 15, 2017 · 1 comment
Open

Add documentation about validating file extensions #221

davidyell opened this issue Feb 15, 2017 · 1 comment

Comments

@davidyell
Copy link
Owner

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.

@isemantics
Copy link
Contributor

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 💃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants