June 2008 - Posts
Hi all, When using RSACryptoServiceProvider in i.e. ASP.NET you may get the following exception under a heavy load scenario: "System.Security.Cryptography.CryptographicException: CryptoAPI cryptographic service provider (CSP) for this implementation could
Read More...
Hi all, Let's talk a bit about concurrency in CryptoAPI . When calling CryptoAPI from different threads , we have to take into consideration that key handles are not thread safe . The following document describes the threading issues when dealing with
Read More...
Hi all, You may be trying to install a hotfix or update silently , but you keep getting a security warning dialog because the file was downloaded from the Internet . The following article explains this situation: 889815 The Open File - Security Warning
Read More...
Hi all, Today I'm posting a sample which shows how to sign a text with a certificate in my Personal store (this cert will have public and private key associated to it) and how to verify that signature with a .cer file (for i.e. WinForms) applications
Read More...
Hi all, You may get an Access Denied error ( COMException 0x80070005 ) when using System.DirectoryServices.DirectorySynchronization in your .NET application with a non-admin user , but everything works fine with a domain administrator. This issue will
Read More...
Hi all, If you ever use WMI Diag script ( The WMI Diagnosis Utility -- Version 2.0 ) on a non-English version of Windows (i.e. Spanish , French, Italian, German...), you will get tons of errors when the script checks out default permissions on WMI namespaces
Read More...
Hi all, Some customers asked me in the past if there was any API to verify if a password meets Windows complexity requirements . Unfortunately there is no such API. We could implement our own if we know the requirements of the password filter used in
Read More...