Welcome to MSDN Blogs Sign in | Join | Help

Decrypt my World

Cryptography, Security, Debugging and more!

News

  • Any of my posts is supported under any Microsoft standard support program or service. They are provided "AS IS" without warranty of any kind, and confer no rights.

Where are my readers?

Locations of visitors to this page

Favorite Posts

June 2008 - Posts

Threading issues with RSACryptoServiceProvider
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...
Threading issues with CryptoAPI
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...
Security Warning dialog box is displayed when you try to silently install a hotfix or an update
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...
How to Sign and Verify the signature with .NET and a certificate (C#)
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...
System.DirectoryServices.DirectorySynchronization returns access denied with non-admin users
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...
WMI Diag won't work well in non-English Windows
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...
How to verify if password meets complexity requirements programmatically
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...
Page view tracker