Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

security in a web application

 
Ankit Tripathi
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hiiiiiii freinds,
I am developing a web application in sevlets,Beans and JSPs.What type of security can i provide to my application such that performance might not be degraded?Please explain me clearly?
thanks in advance!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take the time to choose the correct forum for your posts. This forum is for questions on HTML. For more information, please read this.

This post has been moved to a more appropriate forum.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Security is a big subject that can't be addressed adequately in a forum like this. The SecurityFaq links to a number of articles about what threats to watch out for, how to guard against those threats, and how you might use Java's features and 3rd party libraries to do that.
 
Ankit Tripathi
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am talking in terms of secure login details authentication.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What question do you have about that? Are you familiar with servlet security (user names, passwords, roles) as defined in the servlet specification, and implemented by all conforming servlet containers like Tomcat?
 
Ankit Tripathi
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am only familiar with servlet filters.I want to know how to configure SSL or other security means in web servers like tomcat such that login name and password from a login page would be authenticated to server via HTTPS or any other security mechanism which would be easily applied upon such type of authentication in a simple web application.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The details are specific to each server. For Tomcat, see http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html for SSL, and http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html for authentication.
 
Ankit Tripathi
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanking you a lot,sir!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic