File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Restrict access without authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Restrict access without authentication" Watch "Restrict access without authentication" New topic
Author

Restrict access without authentication

Nicolás Muñoz
Greenhorn

Joined: Nov 11, 2009
Posts: 17
Hello. I'm using Struts 1.3. I have a web page which requires the user to log in. Once the user does that, the page takes him to another page. The problem is, it is possible for someone to type the adress of the page and get in there without having to be logged on, and that's not something I want. I need to find a way to restrict access to the contents of the site without successful authentication. How can I do this with Struts? Thanks!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The things I think of first include: use container-managed security, write a filter, use a custom request processor.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Restrict access without authentication