Re: Authentication Redirect to login doesn't work
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 06/28/05
- Next message: Vinod: "Re: Security (Urgent!!!)"
- Previous message: Eric: "Re: Authentication Redirect to login doesn't work"
- In reply to: Eric: "Re: Authentication Redirect to login doesn't work"
- Next in thread: Eric: "Re: Authentication Redirect to login doesn't work"
- Reply: Eric: "Re: Authentication Redirect to login doesn't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 28 Jun 2005 14:07:05 -0700
Hello Eric,
so what do you want to do? basic or forms auth.
If you are using windows/basic auth in IIS - IIS will do the authentication
- the client will get a login dialog
If you are doing forms, you set IIS to do no authentication - and do it yourself
in ASP.NET by providing a custom login page.
In the case of forms - you also have to set ACLs in web.config - like
<authorization>
<deny users="?" />
</authorization>
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> Hi Dominick,
>
> For both basic and window authentication test i disabled in IIS all
> authentication options except the one concerned by the test. Basic for
> basic auth, windows integrated for windows NT auth.
> I have already test all authentication model on a windows 2000 server
> DC but its the first time that i test it on a Server 2003. As
> everything is denied by default on server 2003 in opposite to Server
> 2000 . Do you have any idea of what could be the reason that when
> calling the default web site page Home.aspx IIS doesn't redirect to
> login.aspx for basic auth. while Authentication is set to Forms in the
> web.config file?
> Dominick a écrit :
>
>> Hello Eric,
>>
>> i guess IIS is not authenticating - disable anonymous access to the
>> virtu
>>
> al
>
>> directory in IIS
>>
>> ---------------------------------------
>> Dominick Baier - DevelopMentor
>> http://www.leastprivilege.com
>>> I have Windows xp as workstation OS and Windows Server 2003 Standard
>>> Edition for the server but Windows NT 4 as primary Domain
>>> controller.
>>> I
>>> made a login.aspx and a home.aspx page to test windows
>>> authentication
>>> with the lines of code needed in the web config file and code
>>> behind.
>>> The Home.aspx page is set as the default page in IIS 6.0.
>>> I have configured IIS for Basic authentication in the Directory
>>> Security panel of IIS manager.
>>> When I'm calling the site with the default Url home.aspx page is
>>> displayed with nothing for User.identity.Name.
>>> Then i tried with windows integreted authentication. I have made the
>>> appropriate amendements in the web config file but when i test it
>>> still nothing is displayed for User.identity.Name.
>>> Could someone tell me what could be wrong.
>>> Does NT integrated authetication work with a NT4 Primary DC and
>>> Server
>>> 2003 domain member server?
>>> thanks in advance for any help
>>> Eric
>>>
- Next message: Vinod: "Re: Security (Urgent!!!)"
- Previous message: Eric: "Re: Authentication Redirect to login doesn't work"
- In reply to: Eric: "Re: Authentication Redirect to login doesn't work"
- Next in thread: Eric: "Re: Authentication Redirect to login doesn't work"
- Reply: Eric: "Re: Authentication Redirect to login doesn't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|