A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Webapp security by IP range
Joined: Aug 18, 2004
Jun 27, 2005 03:38:00
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
manual or web that define a security realm by IP range. Has anyone had any success with this?
SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
I agree. Here's the link:
subject: Webapp security by IP range
Conditionally protecting app by IP range
Serving content based on authenticated roles
EL in faces-config to-view-id with MyFaces
Allowing the internal users and authenticating the external users.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014