473,397 Members | 1,985 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,397 software developers and data experts.

Adding Form Based Authentication in a Sub Directory of Site.

Hello
I want to implement the forms based authentication. for a sub directory in my webapplication.
I have allready applied Forms based authentication in my webapplication ,,
I have added a folder in my webapplication for the admin side of the webside and want to implement forms based authentication. so that admin users can be checked for security. i added a web.config file. but when i add the code below
<authorization>

<deny users="?" />

</authorization>

<authentication mode="Forms">

<forms name=".ASPXAUTH" protection="All" timeout="60" loginUrl="login_form.aspx" />

</authentication>

It Gives me error in the webconfig file .

how can i correct it

Thanks
Software Developer
Chemmed Corporation USA
as**@chemmed.com
Nov 18 '05 #1
1 1447
can you specify what error you are getting.
check if you are not missing out anything on this..

http://support.microsoft.com/default...Product=aspnet

Av.
"Malik Asif Joyia" <an*****@hotmail.com> wrote in message news:Oc**************@TK2MSFTNGP12.phx.gbl...
Hello
I want to implement the forms based authentication. for a sub directory in my webapplication.
I have allready applied Forms based authentication in my webapplication ,,
I have added a folder in my webapplication for the admin side of the webside and want to implement forms based authentication. so that admin users can be checked for security. i added a web.config file. but when i add the code below
<authorization>

<deny users="?" />

</authorization>

<authentication mode="Forms">

<forms name=".ASPXAUTH" protection="All" timeout="60" loginUrl="login_form.aspx" />

</authentication>

It Gives me error in the webconfig file .

how can i correct it

Thanks
Software Developer
Chemmed Corporation USA
as**@chemmed.com
Nov 18 '05 #2

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

Similar topics

1
by: conradwt | last post by:
Hi, I'm looking to implement login/registration system in PHP5 and MySQL. Thus, I have come across alot of resources and source code to perform this task. However, I'm wondering, what's the best...
1
by: naijacoder naijacoder | last post by:
Hi Everyone, I have some Questions relating to Active Directory and Asp.net. 1)I have created a role based authorisation using SQL Server but i want to use Active Directory as a datastore now?...
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...
9
by: Vic | last post by:
I am trying to implement a forms-based authentication on my website, so some directories will have web.config file which will deny certain users, based on role, etc. The problem I encountered is...
4
by: Anil | last post by:
Hi All, We will be using form authentication in out website. We have two totally different types of users in our site. Type 1 Has 2 different roles in it Type 2 Has 3 different roles in it
0
by: IronYuppie | last post by:
Hi all-- I'm retrieving contents from my site using the retrieving images from the database method listed here: ...
13
by: david | last post by:
I can not figure out what is the problem that I can protect ASP.NEt form resource but not some other type of files, for example, images. All my aspx forms located in Demo folder and image files...
2
by: Kash | last post by:
Hi everybody: I'm trying to use forms-based authentication in my web application and it works quite fine when I put web.config file in the root of my web directory. But this results that all users...
1
by: =?Utf-8?B?ZG90TmV0QnVkZHk=?= | last post by:
Hi, I have a created a new website (Default web site is stopped) for a classic ASP application. The local path under Home Directory is F:\inetpub\wwwroot\codebase and the Anonymous access, Basic...
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: 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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.