File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Webapp security by IP range Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Webapp security by IP range" Watch "Webapp security by IP range" New topic
Author

Webapp security by IP range

Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Hi,

I was wondering if it is possible to apply some webapp security that will kick in for connections made from a certain IP range, and will not kick in for another set of IP ranges.

The scenario is that I want users on our Intranet subnet to not have to authenticate, but if users visit the site from their home Internet connection then they do have to authenticate.

I can't seem to find any examples in the Tomcat manual or web that define a security realm by IP range. Has anyone had any success with this?

Cheers, Jared.


SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Webapp security by IP range
 
Similar Threads
Allowing the internal users and authenticating the external users.
Conditionally protecting app by IP range
EL in faces-config to-view-id with MyFaces
Serving content based on authenticated roles
LDAP Users