permission for socket access

Discussion in 'ASP .Net Security' started by Rain, Jun 22, 2006.

  1. Rain

    Rain Guest

    Hi, i only need to make the scoket access unrestricted and nothing else. How
    do i do this in an xml which i will be using in adding a permission set using
    caspol?

    <PermissionSet class="System.Security.NamedPermissionSet" version="1">
    <Permission class="System.Net.SocketPermissionAttribute, mscorlib,
    Ver=2000.14.1812.10, SN=03689116d3a4ae33" version="1">
    <Unrestricted />
    </Permission>
    </PermissionSet>

    This is my sample code but it doesnt work, it tells me that
    System.Net.SocketPermissionAttribute is not valid. PLease, i need help.
    Anyhelkp would be appreciated. Thank you so much in advance.
     
    Rain, Jun 22, 2006
    #1
    1. Advertisements

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. Austin
    Replies:
    1
    Views:
    622
    Alex Sidorenko
    Nov 11, 2004
  2. Jp Calderone

    Re: socket.error:(13,'Permission deied')

    Jp Calderone, Nov 11, 2004, in forum: Python
    Replies:
    2
    Views:
    1,026
    Josiah Carlson
    Nov 12, 2004
  3. Ravikumar

    Problem with socket permission

    Ravikumar, Nov 15, 2006, in forum: Java
    Replies:
    5
    Views:
    1,007
    Ravikumar
    Nov 22, 2006
  4. Laszlo Nagy
    Replies:
    1
    Views:
    6,947
    Mark Wooding
    Jan 27, 2009
  5. Steve Holden
    Replies:
    1
    Views:
    970
  6. W. eWatson

    Socket Error: Permission Denied

    W. eWatson, Feb 9, 2010, in forum: Python
    Replies:
    3
    Views:
    1,505
    W. eWatson
    Feb 9, 2010
  7. Snail
    Replies:
    0
    Views:
    435
    Snail
    Mar 9, 2005
  8. vivekian
    Replies:
    1
    Views:
    295
    Martijn Lievaart
    Aug 22, 2007
Loading...