homepage Welcome to WebmasterWorld Guest from 54.237.38.30
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

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



 
Msg#: 4520756 posted 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

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



 
Msg#: 4520756 posted 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved