|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
problem to run WINDOW user control in IEi created WINDOW user control (not web user control), that connect via
socket to server. this WINDOW user control will be host in the IE . when the page is run, the WINDOW user control is load, and show itself , but when i click on the button in it and attempt to connect via a socket, IE locks up until times out - and i get a security exception.what i need to do to allow this code to run in the web user IE ? i know it about security issue . even when i try to put the site in Trust Site, it wont works and still throw execption. the question: what actions i need to do as web user, to allow this Window User Control run in my IE ? Since your control successfully loads in IE, the problem is not related to
IE's limitations on hosted controls. Instead, it is most likely the result of limited permissions under the .NET code access security system. If so, the exception details (particularly its stack trace listing) should help in identifying the missing permission. If you need help with this, please post the exception details (as returned from the exception's ToString method). If it is a code access security issue, approached for fixing the problem are given at http://blogs.msdn.com/shawnfa/archive/2003/06/20/57023.aspx (general case) and http://blogs.msdn.com/shawnfa/archive/2003/06/26/57026.aspx (extra info for IE-hosted controls). Show quoteHide quote "roni" <xservi***@hotmail.com> wrote in message news:dc8i9q$o9n$1@news2.netvision.net.il... > > i created WINDOW user control (not web user control), that connect via > socket to server. > this WINDOW user control will be host in the IE . > > when the page is run, the WINDOW user control is load, and show itself , > but when i click on the button in it and attempt to connect via a socket, > IE locks up until times out - and i get a security exception.what i need > to > do to allow this code to run in the web user IE ? > > i know it about security issue . > even when i try to put the site in Trust Site, it wont works and still > throw > execption. > > the question: > what actions i need to do as web user, to allow this Window User Control > run > in my IE ? > >
Import RSA parameters from .PEM format
Authenticate User in Windows 2000 machine LogonUser Succeeds - but fails later Getting User Information from a SID Export and Import RSA Key Container Forms Authentication Not Redirecting To Login Page IsInRole & SID/Token Caching in .NET v1.1 Get an unauthenticated windowsIdentity? Cryptography implementation using memeorystream I'm not sure I get this 'salt' thing |
|||||||||||||||||||||||