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
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Webapp security by IP range
 
Similar Threads
LDAP Users
Serving content based on authenticated roles
Conditionally protecting app by IP range
Allowing the internal users and authenticating the external users.
EL in faces-config to-view-id with MyFaces