Ask a Question related to ASP.NET General, Design and Development.
-
Diego Rivero #1
Server certificate validation <-> UnmanageCode permission
Hi.
I'm writing a web control that inherits from
"System.Windows.Forms.UserControl" and uses SSL protocol to communicate with
the web server. The only way I've found to validate the server certificates
is using the "CertificatePolicy" static property of the class
"ServicePointManager". The problem is that to use that property my code
needs "UnmanagedCode SecurityPermission" and that would be an important
drawback if I want my web control to be used over the Internet from any
client machine.
The questions are:
- Why do I need "UnmanagedCode SecurityPermission" to set that property?
and more important,
- There is any way to avoid the need of it?
Thanks,
Diego Rivero.
Diego Rivero Guest
-
Win32::OLE and CAPICOM to find a certificate in certificate store will raise exception
Hi, I am trying to use win32::OLE to access certificate store via CAPICOM. If certificates in the store meet the searching criteria, the... -
SSL certificate validation fails in windows service
Using .NET framework v1.1.4322. My application connects up to a server using HttpWebRequest over SSL. The server certificate is selfsigned, and... -
How to send and validate a server certificate
If I want to customize encryption/decryption in a web service, independent of the underlying protocol such as HTTP, using SOAP extension or similar... -
Certificate Server and Windows XP - Cannot install certificate
Hello all, I would like to implement certificate server. I have installed the service on Win2003 server in standalone mode. I have created from... -
only custom validation control does server side validation?
On a CustomValidator you have to provide the validation code because otherwise it doesn't know what to do for the validation. Other validator...



Reply With Quote

