hosted by liquidweb


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

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
  #1  
Old
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':
http://www.modsecurity.org/documenta....9.html#N1078E

Has anyone tried this?



Sponsored Links
  #2  
Old
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?

Reply

Related posts from TheWhir.com
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
Login:
Log in with your username and password
Username:
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.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com 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?