| SetInputFilter or AddInputFilter arguments What arguments can be used with SetInputFilter or AddInputFilter |
MickeyRoush

msg:4520758 | 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?
|
phranque

msg:4520772 | 3:20 pm on Nov 20, 2012 (gmt 0) | 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.
|
|
|