473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 2733
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Paul W | last post by:
Hi, I am trying to do forms authentication. But what I am doing is a little complex, I think; and, I cant find any documentation out there on it. What I am trying to do is forms authentication...
11
by: ElmoWatson | last post by:
I tried on the Security newgroup, as well as other places, and haven't gotten an answer yet - - I'm pulling my hair out over this one. I'm trying to get Forms Authentication working.....I can get...
6
by: dhnriverside | last post by:
Hi there I'm using Windows Authentication to automatically recognise users in my web app. However, I want directory to be password protected, so if they try to visit the page in there, they MUST...
6
by: eric.olstad | last post by:
I'm pullin my hair out here. I've created a login page that uses Forms Authentication. Initially, it loads the types of authentication methods from a database and asks the user to select the auth...
5
by: Sebastian | last post by:
Hello, I am attempting to share forms authentication between two applications but running into problems. The documentation I've been able to dig up says (to summarize) if the the Web.Config...
0
by: Ashkan Daie | last post by:
Hi All, When using forms authentication with IIS 6.0, I can create a user and log in the user. But the LoginStatus control states that the user is logged out. When running the same app using...
0
by: Ashkan Daie | last post by:
Hi All, When using forms authentication with IIS 6.0, I can create a user and log in the user. But the LoginStatus control states that the user is logged out. When running the same app using...
2
by: =?Utf-8?B?UmJydA==?= | last post by:
I am developing a IIS 6.0 / ASP.NET 2.0 database driven web site that will be used for an in-house application with less than 1,000 potential users and which will probably never have more than a...
4
by: =?Utf-8?B?R3V1czEyMw==?= | last post by:
Hi, I created a web site on a remote server. To logon the user must enter a user id and password. The site is uses Forms Authentication. The web config file looks as follows: ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.