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. 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. Laszlo Nagy
    Replies:
    1
    Views:
    4,858
    Mark Wooding
    Jan 27, 2009
  2. Jean-Paul Calderone
    Replies:
    0
    Views:
    974
    Jean-Paul Calderone
    Jan 27, 2009
  3. Laszlo Nagy
    Replies:
    0
    Views:
    553
    Laszlo Nagy
    Feb 1, 2009
  4. Steve Holden
    Replies:
    0
    Views:
    669
    Steve Holden
    Feb 1, 2009
  5. Steve Holden
    Replies:
    1
    Views:
    724
Loading...

Share This Page