Ben, Any kind of example would be greatly appreciated.
- Darin <<< [EMAIL PROTECTED] >>> Darin, if your PDF files are served straight away by the web server, there is no way for Turbine to veto, as it doesn't come into the game at all. You could, however, write a ServePDF Action that brings back the PDF file to the browser after it has successfully validated that the user has the proper rights. The PDF file to serve could be propagated via a PATH_INFO variable, so that from a URL point of view you could make this fully transparent. Still, this solution will never reach the performance of serving the PDF directly. If this is too abstract, I can sit down and produce an example, but I would probably not get to that until the end of the weekend, so drop me a line if you want/need it. Cheers, Ben Darin Wilcox wrote: > Does anyone know if there is a way to limit access (via roles) to a PDF file using >the turbine framework? > > It works quite well with templates because they are rendered using servlets. >However, I don't know if there is a way to point to a PDF file and make it work with >roles. > > Any help would be greatly appreciated. > > - Darin > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > ------------------------------------------------------------------------ > > ****** Message from InterScan E-Mail VirusWall NT ****** > > ** No virus found in attached file noname.htm > > No Virus detected in the attached file(s). > ***************** End of message *************** > -- Benjamin Peter +49-69-96244395 Application Engineer Moerfelder Landstr. 55 (zentropy:partners) 60598 Frankfurt, Germany -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
