About JSP access security problem, please advise! ~! ~! ~! ~! ~! ~ Urgent, thank you! ~! ~! ~! ~!

Category: Web Develop
 
joinluck
2009-05-30 01:05:14

Sponsored Links
I do have a JSP program to add user-friendly features, this feature requires the administrator password to enter tianjia.jsp, then enter the user name and password, click OK, and then added to the database, and after using this user name and password to enter the system , this function must have the administrator password can be used, but I do play http://localhost:8080/xxip/tianjia.jsp
program directly entered, you can enter a user name and password, can not be achieved only administrators can add! ! !
Please expert guidance, I really do not know how to do? ? ? ? ? ? ? ? ? ? ? ?
Please that specific point, there is news on the knot tie! ~ ~! ~
Thank you! ~! ~!

Sponsored Links

pengxizi
2009-05-30 01:10:07
Session
weblycn
2009-05-30 01:13:14
permission must be linked with the role

tianjia.jsp must be able to distinguish when a user login administrator or an ordinary user

best to add a field to the user the difference between general users and administrators to achieve good

Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.