• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to restrict access?

 
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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!