Re: Restrict access to a single user
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 07/28/04
- Next message: rusjw: "VB.net linked to SQL data"
- Previous message: Nicole Calinoiu: "Re: assembly verification"
- In reply to: PV: "Restrict access to a single user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 28 Jul 2004 14:09:43 -0500
Is anonymous access disabled in IIS? If you run some code in your app that
returns Context.User.Identity.Name to the screen when Fred is logged in,
what do you see?
That might help fix the problem.
Joe K.
"PV" <philipv-REMOVE-TO-REPLY@computronix.com> wrote in message
news:OT4XHaMdEHA.3528@TK2MSFTNGP12.phx.gbl...
> How can I get my web site restricted to a single user? I have my
web.config
> set up as follows:
>
> <authorization>
> <allow users="Fred" />
> <deny users="*" />
> </authorization>
>
> When I do this, nobody has access (not even Fred).
>
> If I try:
>
> <authorization>
> <allow users="Fred" />
> <deny users="?" />
> </authorization>
>
> Then everybody except anonymous has access (i.e. it is too wide open).
>
> I have enven put in <allow users="MyDomain\Fred" />, but it doesn't work.
> Fred is a valid user on the computer.
>
>
- Next message: rusjw: "VB.net linked to SQL data"
- Previous message: Nicole Calinoiu: "Re: assembly verification"
- In reply to: PV: "Restrict access to a single user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|