Goal: to keep items in a directory from being accessed without going 
thru the web site

Method: create a filter valve that checks that the referrer is from 
the same url (not hack proof, but good enough)

Problem: when I specify my filter valve, it looks like it is being 
ignored completely; no error if the filter class isn't there and the 
filter doesn't do anything.

Question: can one create one's own subclass of FilterRequestValve?
           is there a better method?

Config:
          <Context path="/wt/images" docBase="wt/images">
          <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="localhost_wt_log." suffix=".txt"
              timestamp="true"/>
          <Valve className="org.apache.catalina.valves.RefererValve"
              allow="http://www.wt.net/"/>
          </Context>


thanx!

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to