471,089 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

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 2642
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.