Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!