homepage Welcome to WebmasterWorld Guest from 54.235.20.17
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Pubcon Website
Visit PubCon.com
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: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.

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved