Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2002

    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':

    Has anyone tried this?

  2. #2
    Join Date
    Jun 2004
    Los Angeles
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts