| Author |
Restrict user to access action
|
N Kumar
Greenhorn
Joined: Jan 09, 2007
Posts: 2
|
|
Hi All, I have a problem,I am developing an application, where multiple groups(Administrator,supervisor,inspector...) are there.And they have some restricted access only. Now the problem is if the user login from supervisor user id and if he has the url for administrator then he can access the page. I am checking the user in session the problem is the supervisor has login with userid and password and after that he is putting the url where he donot have access. Can anybody suggest how to control it?
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26201
|
|
|
Every action should be responsible for it's own security check that the user has the correct role. Then typing in the URL isn't enough to access a page.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: Restrict user to access action
|
|
|