On Tue, Apr 29, 2008 at 4:24 AM, jithesh <[EMAIL PROTECTED]> wrote:
>
>  Hi
>
>   I am using appfuse 1.9.4 for developing my web project. I have a pdf file
>  stored in a folder named 'pdf' in the application directory. the url for
>  accessing the pdf is just like given below.
>       https://localhost:8443/<projectfolder>/pdf/terms.pdf
>
>     But my problem is if one opened a new browser tab and pasted the above
>  url , they can view the pdf. I want to restrict the viewer from seeing that
>  pdf. That is only authenticated user can view that pdf.
>
>    Is there any approach for doing that?
>   I am using acegi 1.0 for authentication. I found
>  'filterInvocationInterceptor' has some mechanism to set access to some url
>  based on user roles.Is it possible to implement the same approach for my
>  case.

Yes, this should be possible. Have you tried it? If so, did it work?

Matt

>
>   eg: /pdf/*.*=admin,user  like that.........
>
>  Please let me know your suggestions..........
>
>  Thanks and regards,
>  Jithesh
>  --
>  View this message in context: 
> http://www.nabble.com/filterInvocationInterceptor-doubt-tp16957467s2369p16957467.html
>  Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to