hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : scanning file uploads with mod_security

Forum Jump

scanning file uploads with mod_security

Reply Post New Thread In Hosting Security and Technology Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Web 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':

Has anyone tried this?

Sponsored Links
Junior 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?


Related posts from
Title Type Date Posted
The Pirate Bay Co-Founder Faces 8 Months in Prison After Arrest in Sweden Web Hosting News 2014-06-05 09:20:34
UK Government Calls for Greater Oversight of Huawei Cybersecurity Evaluation Centre Web Hosting News 2013-12-18 16:53:29
UK Companies Need to Take Cybersecurity More Seriously: Government Report Web Hosting News 2013-11-27 11:32:54
Egnyte Launches Program to PRISM-Proof Enterprise Cloud File-sharing Web Hosting News 2013-09-27 13:45:48
IceWEB Releases Version 3.0 of Cloud Storage Solution Web Hosting News 2013-08-28 11:11:13

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?