aspose file tools*
The moose likes Security and the fly likes controlling access between different users Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "controlling access between different users" Watch "controlling access between different users" New topic
Author

controlling access between different users

mani sankar
Greenhorn

Joined: May 23, 2008
Posts: 2
I have a web application and authentication is done using LDAP server.
i have a 2 userid's(say:full_page and half_page)...

when i login with userid:full_page I get a jsp page(say..hello.jsp)(say hello.jsp has 10 links in it)

when i login with userid:half_page I get the same jsp page(i.e hello.jsp) but i have all the links disabled and the backround colour of the page is different)

How is this done?? having the same url .... but diff users are given diff type of access??
Also if there are numbers from 1 to 1000 in a database..say each number is associated with employee information..and in my app i have a field which has to type a number and search for a number..

When i search for a number by logging in with full_page,I got the result for nos from 1 to 1000..But when I tried to do the same by logging with half_page,..I can access only certain group of numbers.if i try to search for any other...i am getting a message "u cant see associated information"

IS THIS RELATED TO ANY STORED PROCEDURES IN PL/SQL??
HOW EXACTLY IS IT DONE?
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4658
    
    5

Is there some reason you posted the same question twice, with slightly different titles?

You, the poster, can and should delete one.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: controlling access between different users