Re: authorization element in web.config

From: Matjaz Ladava (matjaz_at__nospam_ladava.com)
Date: 06/23/03


Date: Mon, 23 Jun 2003 20:03:06 +0200


If this was a windows authentication, then you need to place computername in
front of username. Example:
If your computer name is HAL9000 and user who you with to deny access is
User4, then oyu should write HAL9000\User4 . If this is a domain, then use
DOMAINNAME\User4.

-- 
Regards
Matjaz Ladava, MCSE (NT4 & 2000)
matjaz@ladava.com
http://ladava.com
"E-Coder" <Sharaf_mohamed@hotmail.com> wrote in message
news:OeOz3DXODHA.1584@TK2MSFTNGP11.phx.gbl...
> Peace upon you all
>     I tried to deny access through the authorization element in web.config
> but it didn't work, Itried to deny the unauthenticated users with ?
> parameters and it worked well but when I deny access to particular user it
> didn't work and it allowed him alse here's the code I tried
>
> <authorization>
>
> <deny users="?" />
>
> <deny users="someUsers" />
>
> </authorization>
>
> and I tried also
>
> <authorization>
>
> <deny users="someUsers" />
>
> <deny users="?" />
>
> </authorization>
>
>
>
> Thanx in advance for ur help
>
> Mohamed
>
>
>