Re: Forms Authentication for particular folder

From: VicWare (info_at_vicREMOVEware.nl)
Date: 06/28/04


Date: Mon, 28 Jun 2004 21:09:01 +0200

That works!
Thanks a lot!

Vic

"VIC" <nomail@nomail.com> schreef in bericht
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)
>
>



Relevant Pages

  • Re: Webapplication fails after a few hours
    ... and then login dialog is displayed all the time for anonymous access) ... The cause in their case was because they had a domain policy in effect which ... "Ferdi" wrote in message ... start this applications - a login dialog ist displayed. ...
    (microsoft.public.inetserver.iis)
  • Re: Restricting Read Access to Topics
    ... If you disable anonymous access and use just basic authentication (with SSL ... the user will be prompted to login before seeing any content. ... > The home area does not have the same manage security settings that the ...
    (microsoft.public.sharepoint.portalserver)
  • Re: NT Login
    ... If your web site allows anonymous access, there will be no Login ... "Phil" wrote in message ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Auto-authenticate Domain Users through ASP?
    ... To get the NT username, ... turn off Anonymous Access on your Web site (either manually using IIS Admin ... will be presented the ugly login box. ...
    (microsoft.public.inetserver.iis.security)
  • Forms Authentication for particular folder
    ... I'm working on a webapplication, most part is for anonymous access, but for ... All the files after login are in one particual ... The loginpage and Web.config are in the root of the web. ...
    (microsoft.public.dotnet.framework.aspnet.security)