You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Gaet <ga...@free.fr> on 2005/10/11 09:41:11 UTC

Directory acces depending on user connected...

Hi,

I have an application where I store PDF of each of my client...
I would like to know how to restrict the view of PDF to the client that PDF belongs to

Actually to view PDF I have a link like this :

www.mywebsite.com/mystrutslink.do?pdf=/pdf/clientId/test.pdf

As you may notice, the problem is that the link is displayed and if the client change the id by the one of another client he will see his PDF...

Thanks for your advices on this problem