Re: authorization element in web.config

From: Tom Vogel (thomas.vogel_at_datazug.ch)
Date: 06/23/03


Date: Mon, 23 Jun 2003 21:03:31 +0200


try using a comma-separated list instead:
<authorization>
 <deny users="?,someUsers" />
</authorization>

Tom

"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
>
>
>