You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Brad Rhoads <br...@zethcon.com> on 2002/06/12 22:10:20 UTC

Protecting PDF and other non-jsp files

In my .jsp pages I can check if a session var has been set to determin if a
page can viewed or not. How can I protect .pdf and other types of files (in
an OS-independent way)?


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Protecting PDF and other non-jsp files

Posted by James Mitchell <jm...@telocity.com>.
tomcat provides a nice way of doing this.....@see the docs

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://struts-atlanta.open-tools.org

> -----Original Message-----
> From: Brad Rhoads [mailto:brhoads@zethcon.com]
> Sent: Wednesday, June 12, 2002 4:10 PM
> To: 'Struts Users Mailing List'
> Subject: Protecting PDF and other non-jsp files 
> 
> 
> In my .jsp pages I can check if a session var has been set to 
> determin if a
> page can viewed or not. How can I protect .pdf and other types of 
> files (in
> an OS-independent way)?
> 
> 
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>