Confirm a bug.....

Discussion in 'ASP .Net Security' started by Bryan Martin, Nov 23, 2003.

  1. Bryan Martin

    Bryan Martin Guest

    Using sockets inside a class called by ASP.NET

    By impersonating you can use a TCP socket from a external class and call it
    from a ASP.NET page. However, changing the socket type to UDP and binding
    it to a port throws an error "An attempt was made to access a socket in a
    way forbidden by its access permissions".

    I tried all the methods I knew of to get this to work such as...
    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 inside code
    I have seen (http://support.microsoft.com/default.aspx?scid=kb;EN-US;195445)

    Equipment & Software:
    W2K Advanced Server SP4 IIS 5
    VS.NET 1.0

    This leaves me at a loss on how to get my class to run from a ASP.NET page.
    I have searched the web and msdn without success. If anyone knows something
    I dont then please speak up.

    Bryan
    Bryan Martin, Nov 23, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bryan Martin

    Confirm a bug.....

    Bryan Martin, Nov 23, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    395
    Bryan Martin
    Nov 23, 2003
  2. Ian
    Replies:
    0
    Views:
    279
  3. Roger Binns
    Replies:
    3
    Views:
    328
    Roger Binns
    Jun 24, 2004
  4. =?ISO-8859-1?Q?G=E9rard_Talbot?=

    Confirm a serious CSS bug in IE 7 (infinite loop)

    =?ISO-8859-1?Q?G=E9rard_Talbot?=, Mar 11, 2007, in forum: HTML
    Replies:
    0
    Views:
    278
    =?ISO-8859-1?Q?G=E9rard_Talbot?=
    Mar 11, 2007
  5. G

    Confirm bug in IE 6, SP 2

    G, Jan 20, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    149
    Alvin Bruney [MVP]
    Jan 20, 2005
Loading...

Share This Page