Hi!
Do you store the password in crypted from in the database (or) as it is.
Kindly enlighten me of security threats.
Thanks and regards
Raghuraman S
----------
From: Som Subhra Chakraborty [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, April 13, 2000 2:50 PM
To: [EMAIL PROTECTED]
Subject: Re: session and cookies
Hi,
U can maintain a database of names & coresponding passwords.
Everytime a user logs in, do something like,
boolean ok = obj.getPassword(loginName,passwd,group);
if (ok) //The method returns true if the name matches the passwd
allow();
else
donotAllow();
----------
From: Nadeem[SMTP:[EMAIL PROTECTED]]
Reply To: A mailing list about Java Server Pages specification
and reference
Sent: Thursday, April 13, 2000 3:58 AM
To: [EMAIL PROTECTED]
Subject: session and cookies
Hello Folks,
Can anyone hlep me with this scenerio and how to achieve this goal.
Say for example there is a variable called Abc, and thre are more
varibale
like that. We defined a varibale in an index.jsp which is like a
default
page. Somone logs in, how do we go about making sure that person
wehn he logs in, logs in to that abc group. Another words he should
be a part of
that gorup.
So its more line this, if person A belongs to abc, then he should
only get
those right that group abc has. Same thing if B belongs to DEF, he
should get
those rights. ABC, and DEF and many more all have ID's. Trying to
achieve
this by passing those variable ID.
Any help in this matter will be appreicated.
You can email me if yo have more question to [EMAIL PROTECTED]
Thank you.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets