• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to restrict access?  RSS feed

 
Rajesh Pathak
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have JSP/Servlet pages running on my machine (and my machine is on a network). How can I restrict other users, who are on the network, from getting the output of my JSP/Sservlets?
 
Stefan Zoerner
Author
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello !
A solution would be to use declarative security in your web.xml deployment descriptor. See the Servlet Spec and the documentation of your servlet container for details.
Greetings from Germany, Stefan
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!