Welcome to WebmasterWorld Guest from 54.145.118.24

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

SetInputFilter or AddInputFilter arguments

What arguments can be used with SetInputFilter or AddInputFilter

     
2:36 pm on Nov 20, 2012 (gmt 0)

Junior Member

5+ Year Member

joined:May 3, 2011
posts:75
votes: 0


Is there a list or guideline of what arguments can be used with SetInputFilter or AddInputFilter? The info at Apache.org is not the most complete docs I have ever searched.

For example, is there anyway to use either of these directives to make sure that when my users upload an image file like image.png that it is a clean static file and keep it from executing if it isn't?

I'm shooting in the dark here, but say something like this:

SetInputFilter -ExecCGI


That's just an example, I have no idea what that would do, but it's the only example I can think of at the moment. Or maybe that's not even possible with this directive? Or does Apache already do this on it's own?
3:20 pm on Nov 20, 2012 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10846
votes: 61


Filters - Apache HTTP Server:
http://httpd.apache.org/docs/2.2/filter.html [httpd.apache.org]

you could write a module to do this if not already available but it may be easier to do this check in your upload script.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members