Re: <allow users=""> question



On May 25, 8:08 pm, "Mike" <whyamih...@xxxxxxxxx> wrote:
1. Why do you set impersonation? Do you need it?
Not sure, I just came on board for the project. not sure

Okay, I guess you don't need it :-) With impersonation ASP.NET Web
application would access the file system using as the user "myDomain
\testuser". Maybe this is the reason of a login prompt. Either remove
that section, or set

<identity impersonate="false" />

More about impersonation
http://msdn2.microsoft.com/en-us/library/aa292118.aspx

Now, try to set

<authorization>
<allow users="*"/>
<authorization>

Make sure that your account has access

Set up an access rule for specific group (your user must be a member
of that group)

<authorization>
<allow roles="DOMAIN\group"/>
<deny users="*"/>
<authorization>

See what happens

.



Relevant Pages

  • asp.net impersonation
    ... When a Web Service is configured to use windows authentication with no ... When I turn on impersonation and add authorization for user domain ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: question
    ... Okay, I guess you don't need it :-) With impersonation ASP.NET Web ... Maybe this is the reason of a login prompt. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: question
    ... what would happen if I set ther username and password under: ... I guess you don't need it :-) With impersonation ASP.NET Web ... Maybe this is the reason of a login prompt. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: asp.net impersonation
    ... the deny entry should be the last in the authorization element. ... impersonation the client can successfully assess the web service. ... When I turn on impersonation and add authorization for user domain ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • PrintToPrinter from ASP.Net
    ... I am using impersonation to ensure Crystal Reports has rights to print to ... This section sets the authorization policies of the application. ...
    (microsoft.public.vb.crystal)