Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can we create password protection in jsp??

 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need a code for password protection in jsp??
hows to protect the password in jsp and send it to the database and how to retrieve it??
hows many ways can it be done??
 
Seshan Parameswaran
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Senthil,
Please let me know what you did to achieve password protection
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, depends on how much security you need.
You can write the passwords to a user-passowrd table on the server, or write the hashes of the passwords on the DB or to a file.
If you are looking at the hashes, MD5 will help you much.
Need more.. just post!!
Regds
Lupo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic