dcsimg
Restricting access for JSP Sites in Tomcat
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rick_Good
Posted On:   Wednesday, January 29, 2003 12:01 PM

If say http://localhost:8080/members/member1/ is one site, and http://localhost:8080/members/member2/ is another, Is it possible to restrict pages from member1 from creating a file object and accessing stuff from member2? I don't want to restrict accessing anything from: http://localhost:8080/members/member1/ using a file object, I guess I just want to stop a page from using a file object from going to the parent directory from where it is created. I hope I've explained myself clearly. Additional Info: OS: RedHat Linux 8.0 server Java: JSE 1.4.1, J2EE 1.4 Tomcat: 4.1    More>>

If say



http://localhost:8080/members/member1/

is one site, and



http://localhost:8080/members/member2/



is another, Is it possible to restrict pages from member1 from creating a file object and accessing stuff from member2? I don't want to restrict accessing anything from:
http://localhost:8080/members/member1/ using a file object, I guess I just want to stop a page from using a file object from going to the parent directory from where it is created.



I hope I've explained myself clearly.


			
Additional Info:
OS: RedHat Linux 8.0 server
Java: JSE 1.4.1, J2EE 1.4
Tomcat: 4.1
   <<Less

Re: Restricting access for JSP Sites in Tomcat

Posted By:   rajeev_kumar  
Posted On:   Wednesday, January 29, 2003 10:43 PM

I assume member1 and member2 are users of ur application
u can use Security Realm based on some kind of roles and display the pages to the memeber based on roles
About | Sitemap | Contact