Welcome to WebmasterWorld Guest from 54.161.110.186

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)



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)

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month