Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Access protected folder without password  RSS feed

 
Mike Yu
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
(Not sure if this is the right forum to post this question).
If a folder in IBM HTTP server is protected, then calling the resources (i.e., pdf files) from a browser or a link in another page will pop up a window asking for user name and password.
Now I have a jsp page in WAS, in this jsp page, there are links to the files in the protected folder on HTTP server. This jsp page requires user login. But after users open this jsp page and click the links, I want the files in the protected HTTP folder to be displayed without users typing the user name and password.
Is it possible to make it?
Thanks,
Mike
 
Sam Dalton
Author
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes this is certainly possible.
Make sure that the 2 sets of resources (the JSP and the PDFS) are accesible by the same role within the web container (this is defined in web.xml) This should allow you to log in once and only once.
Cheers
Sam
 
Mike Yu
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sam,
Thank you for your reply. Can you give some more details? My PDF files are in HTTP server.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!