Re: Forms Authentication for particular folder
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 06/28/04
- Next message: Ken Schaefer: "Re: Access Denied when reading directory information on another server"
- Previous message: VIC: "Forms Authentication for particular folder"
- In reply to: VIC: "Forms Authentication for particular folder"
- Next in thread: ranganh: "RE: Forms Authentication for particular folder"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 28 Jun 2004 18:12:36 +1000
You need to create a new <location> in your web.config and point it to your
folder. Configure forms auth for that location only
Cheers
Ken
"VIC" <nomail@nomail.com> wrote in message
news:40dfc41b$0$10303$756600cd@news.cambrium.nl...
: Hi,
:
: I'm working on a webapplication, most part is for anonymous access, but
for
: one part login is needed. All the files after login are in one particual
: folder: "/login".
:
: Usernames and passwords are stored in a tabel on SQL Server.
: The loginpage and Web.config are in the root of the web.
:
: I've tried several things but I don't get it work correctly.
: My code of checking against the table works correctly, I'm struggling with
: Web.config.
:
: The authentication section of Web.config is like:
:
: <authentication mode="Forms">
: <forms name="justaname"
: path="/"
: loginUrl="login.aspx"
: protection="All"
: timeout="20">
: </forms>
: </authentication>
:
: All I want to manage is to allow anonymous acces for the whole website,
: except the content of the subfolder "/login".
: Any help is appreciated, thanks!
:
: VicWare
: Email: info@vicREMOVE-MEware (spamblock)
:
:
- Next message: Ken Schaefer: "Re: Access Denied when reading directory information on another server"
- Previous message: VIC: "Forms Authentication for particular folder"
- In reply to: VIC: "Forms Authentication for particular folder"
- Next in thread: ranganh: "RE: Forms Authentication for particular folder"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|