Please keep me from turning this **** win2k dell 1300 box into a door stop.......

From: John Doe (postmaster_at_127.0.0.1)
Date: 11/21/03


Date: Fri, 21 Nov 2003 02:42:45 GMT

I am at my wits end with IIS security.

I am trying to run a component from an aspx page which accesses the sockets
namespace. Of course because most administrators cannot keep there servers
secure microsoft now has it so any attempt to access a socket from the
aspnet account results in "An attempt was made to access a socket in a way
forbidden by its access permissions". How in the hell do I get around this.

Whats been tried:

ASPNET added the account to the local administrators
ASPNET act as part of the os inside local policy
<identity impersonate="true" userName="administrator" password="*****" />
inside the web.config file.
System.Security.Principal.WindowsIdentity.GetCurrent.Impersonate in code
I have seen (http://support.microsoft.com/default.aspx?scid=kb;EN-US;195445)

Please if you have any idea then by all means share it. Oh by the way the
same code works flawlessly on the xp.pro development machine.



Relevant Pages

  • Re: Please keep me from turning this **** win2k dell 1300 box into a door stop.......
    ... Just checking that you unchecked Anonymous access in IIS? ... > aspnet account results in "An attempt was made to access a socket in a way ... > ASPNET added the account to the local administrators ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: 2nd attempt: UDP Socket Bug
    ... changing the socket type to UDP and binding ... > way forbidden by its access permissions". ... > ASPNET added the account to the local administrators ... > ASPNET act as part of the os inside local policy ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: 4th attempt: UDP Socket Bug
    ... changing the socket type to UDP and binding ... > way forbidden by its access permissions". ... > ASPNET added the account to the local administrators ... > ASPNET act as part of the os inside local policy ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: tired of counting.... UDP socket bug
    ... changing the socket type to UDP and binding ... > ASPNET added the account to the local administrators ... > ASPNET act as part of the os inside local policy ... > I have searched the web and msdn without success. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: tired of counting.... UDP socket bug
    ... Where do you run this external class from? ... changing the socket type to UDP and binding ... > ASPNET added the account to the local administrators ... > I have searched the web and msdn without success. ...
    (microsoft.public.dotnet.framework.aspnet.security)