Results 1 to 2 of 2
Hybrid View
-
01-12-2006, 09:02 AM #1Web Hosting Guru
- Join Date
- Jan 2002
- Posts
- 269
scanning file uploads with mod_security
I would like to use mod_security to block file uploads containing php or perl code.
This section of the documentation suggests it is possible to do this using a 'SecUploadApproveScript':
http://www.modsecurity.org/documenta....9.html#N1078E
Has anyone tried this?
-
01-30-2006, 04:07 PM #2Junior Guru Wannabe
- Join Date
- Jun 2004
- Location
- Los Angeles
- Posts
- 87
This thing looks awesome. I think I'll have to try it out right now. I am interested in the exit statuses that mod security is expecting though. For example, if I don't like the file, can I delete or chmod it before the php script can write/move it?