468,101 Members | 1,319 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,101 developers. It's quick & easy.

Bypass Forms Authentication for IP address range

Hi,

I have a page called Page1.aspx on an ASP.Net 1.1 website which has
Forms Authentication enabled.

Role1 has been setup in the Web.config to have access to Page1.aspx as
follows:
<location path = "Page1.aspx">
<system.web>
<authorization>
<allow roles = "Role1"/>
<deny users = "*"/>
</authorization>
</system.web>
</location>
There is a user, say User1, who is in Role1, who logins into the
website and as specified in the role, can access Page1.aspx.

There is another user, say User2, who is also in Role1. Since User2
has an IP from an approved IP address range, she should be allowed to
navigate to Page1.aspx without being redirected to the login page. In
other words...bypassing Forms Authentication.

Is it possible to do this? Please note that User2 should still be
limited to access as specified in Role1.

Thanks,
Chumma Dede

Feb 7 '06 #1
2 2537
DWS
Chumma,

Validation by IP your just asking for trouble with IPv6 around the corner it
might suddenly stop working in the future. Windows authentication would work
on the local intranet for user1 and user2 in role1.

Good Luck
DWS
"Chumma Dede" wrote:
Hi,

I have a page called Page1.aspx on an ASP.Net 1.1 website which has
Forms Authentication enabled.

Role1 has been setup in the Web.config to have access to Page1.aspx as
follows:
<location path = "Page1.aspx">
<system.web>
<authorization>
<allow roles = "Role1"/>
<deny users = "*"/>
</authorization>
</system.web>
</location>
There is a user, say User1, who is in Role1, who logins into the
website and as specified in the role, can access Page1.aspx.

There is another user, say User2, who is also in Role1. Since User2
has an IP from an approved IP address range, she should be allowed to
navigate to Page1.aspx without being redirected to the login page. In
other words...bypassing Forms Authentication.

Is it possible to do this? Please note that User2 should still be
limited to access as specified in Role1.

Thanks,
Chumma Dede

Feb 9 '06 #2
This is all on the internet. So windows authentication is not an
option.

How will IPv6 affect this?

Thanks.

Feb 9 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Paul W | last post: by
11 posts views Thread by ElmoWatson | last post: by
6 posts views Thread by dhnriverside | last post: by
6 posts views Thread by eric.olstad | last post: by
reply views Thread by Ashkan Daie | last post: by
reply views Thread by Ashkan Daie | last post: by
2 posts views Thread by =?Utf-8?B?UmJydA==?= | last post: by
4 posts views Thread by =?Utf-8?B?R3V1czEyMw==?= | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.