473,385 Members | 1,582 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.

Login Redirect & Sub Directory

Hi all,

I have a sub directory in an appication i have written.

In my web config i have set the security like so.

<authentication mode="Forms">
<forms loginUrl="LoginUrl">
</authentication>
<authorization>
<deny users="?" />
</authorization>

Say my directory is name 'Directory A'..
How do i make it exempt from the root directories security & login
redirect.???

Cheers,
Adam
Feb 28 '06 #1
3 2766
DWS
Here's an Idea for you man.

Add a web.config file to the Directory A folder. Do it visually with the
ASP.Net Configuration tool in visual studio (website menu). Click security,
Click access rules, ... you can do the rest I'm sure.

Good Luck
DWS

"Mr Ideas Man" wrote:
Hi all,

I have a sub directory in an appication i have written.

In my web config i have set the security like so.

<authentication mode="Forms">
<forms loginUrl="LoginUrl">
</authentication>
<authorization>
<deny users="?" />
</authorization>

Say my directory is name 'Directory A'..
How do i make it exempt from the root directories security & login
redirect.???

Cheers,
Adam

Feb 28 '06 #2
I am assuming you are talking about asp 2.0.
I am talking about asp.net 1.1 (i guess i should start to clarify this)

Also, i am dealing with a corporate client who, wouldn't give me that kind
of access if their life depended on it.

As i understand it, I can use the location element to achieve what i am
after.
However, I am not exactly sure how to do it..

Cheers,
Adam

"DWS" <DW*@discussions.microsoft.com> wrote in message
news:D5**********************************@microsof t.com...
Here's an Idea for you man.

Add a web.config file to the Directory A folder. Do it visually with the
ASP.Net Configuration tool in visual studio (website menu). Click
security,
Click access rules, ... you can do the rest I'm sure.

Good Luck
DWS

"Mr Ideas Man" wrote:
Hi all,

I have a sub directory in an appication i have written.

In my web config i have set the security like so.

<authentication mode="Forms">
<forms loginUrl="LoginUrl">
</authentication>
<authorization>
<deny users="?" />
</authorization>

Say my directory is name 'Directory A'..
How do i make it exempt from the root directories security & login
redirect.???

Cheers,
Adam

Feb 28 '06 #3
DWS
Here's an Idea.
login is not supported in asp.net 1.1 get help for login from login code
vendor group.

Good Luck
DWS
"Mr Ideas Man" wrote:
I am assuming you are talking about asp 2.0.
I am talking about asp.net 1.1 (i guess i should start to clarify this)

Also, i am dealing with a corporate client who, wouldn't give me that kind
of access if their life depended on it.

As i understand it, I can use the location element to achieve what i am
after.
However, I am not exactly sure how to do it..

Cheers,
Adam

"DWS" <DW*@discussions.microsoft.com> wrote in message
news:D5**********************************@microsof t.com...
Here's an Idea for you man.

Add a web.config file to the Directory A folder. Do it visually with the
ASP.Net Configuration tool in visual studio (website menu). Click
security,
Click access rules, ... you can do the rest I'm sure.

Good Luck
DWS

"Mr Ideas Man" wrote:
Hi all,

I have a sub directory in an appication i have written.

In my web config i have set the security like so.

<authentication mode="Forms">
<forms loginUrl="LoginUrl">
</authentication>
<authorization>
<deny users="?" />
</authorization>

Say my directory is name 'Directory A'..
How do i make it exempt from the root directories security & login
redirect.???

Cheers,
Adam


Mar 1 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stu | last post by:
Hi All, I have an ASP.NET application to which I have implemented forms authentication to handle security. It is a relatively straight forward solution with all aspx pages residing in the root...
11
by: David W. Simmonds | last post by:
I have a form that will prompt for a user name/password. In VS.NET, I have the protected form in a folder named Admin. I have a Web.config file in that folder as well. It contains the following...
10
by: GreggTB | last post by:
I've got an page (LOGIN.ASPX) that receives the user's login information. During the page load, it checks the credentials against a database and, if validation is successful, creates an instance of...
3
by: Joe Fawcett | last post by:
Dear All We have an application where users login, their name/password details are stored in a table, and now we want to add a third party bulletin board that lives in its own virtual directory....
6
by: BizWorld | last post by:
Hi, I have a scenario where i need to configure only Login.aspx page to use SSL. All other application will run on HTTP protocol. If someone can guide me how to accomplish this. One of my idea...
6
by: =?Utf-8?B?eW9kYWt0?= | last post by:
I'm having issues with logging into my application after moving it from the development server to the live IIS server. Things I've already done: 1) I made sure that I have applicationName set as...
2
by: adam.waterfield | last post by:
Maybe someone could help me a little here. On a project I am working on, we have some LDAP authentication to Active Directory which allows users to login to our application - this is fine. When...
3
by: satishknight | last post by:
Hi, Can some one tell me how to change the validation sequence for the code pasted below, actually what I want it when any one enters the wrong login information (already registered users) then it...
10
by: DavidPr | last post by:
When I logout as one user and log in under a different user, it opens with the last user's information. User 1 - Unsername: Davey Jones User 2 - Unsername: David Smith I log out from Davey...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.