Home All Groups Group Topic Archive Search About

.NET Security

microsoft.public.dotnet.security
Score X509 digital certificate for offline solution
Gaja - 6 Aug 2005 5:57 AM - 17 messages
Hi,   I have a situation. We need to encrypt database connection information like server name, user id and password. I was thinking of X509 digital certificate and cryptography. Unfortunately this should work as a offline solution. I have used digital certificates that was verified by certificate ...
Score does C# have any collection objects that support sort functionality so that I dont have to write my
Daniel - 5 Aug 2005 6:53 PM - 2 messages
does C# have any collection objects that support sort functionality so that I dont have to write my own sorting algorithm? ...
Score Extra '\0' chars after decryption
Samba - 5 Aug 2005 9:59 AM - 2 messages
Hi, I'm trying encryption and decryption ... the problem is that whatever symmetric algorithm I use, my decrypted string almost always contains a couple of extra-spaces (in C#, I get two '\0' chars at the end of the decrypted string). Otherwise, the string is correct. I couldn't find out if ...
Score Create an Event Log on a Least Privilege User Account
mr.mike.ward - 5 Aug 2005 1:51 AM - 6 messages
I'm trying to do the following on an x64 Pro system running in a Least Privilege User Account. (C#) EventLog eventLog = new EventLog("MyLog", ".", "MyLog"); ---------- I get a security exception with the following text. System.Security.SecurityException: Requested registry access is not ...
Score how to create a gif or png dynamicaly in .aspx and return in response?
Daniel - 4 Aug 2005 10:31 PM - 2 messages
how to create a gif or png dynamicaly in .aspx and return in response? ...
Score RSACryptoServiceProvider Expiration?
tsteinke - 4 Aug 2005 3:23 PM - 2 messages
I am seeing a secnario where a signature that I generated with a RSACryptoServiceProvider.SignData 90 days ago cannot be verified. Do these signatures expire? If so is there a waay to turn that off? ...
Score How to impersonate while creating a User via System.DirectoryServi
Norbert Kessler - 4 Aug 2005 2:06 PM - 2 messages
We are trying to create a local user through this code in a ASP.NET page: Dim AD As DirectoryEntry = _     New DirectoryEntry("WinNT://" + Environment.MachineName + ",computer") Dim NewUser As DirectoryEntry = AD.Children.Add("TestUser1", "user") NewUser.Invoke("SetPassword", New Object() {"#12345Abc"}) ...
Score Bad Data error in DES encryption
Samba - 4 Aug 2005 5:09 AM - 5 messages
Hi, I'm doing a symmetric encryption using DES provider. I've posted my VB.NET code below:     ' Encryption     Dim encAlg As New DESCryptoServiceProvider     Dim ms As New MemoryStream     Dim cs As New CryptoStream(ms, ...
Score Securing a control assembly against use of foreign assemblies
Jürgen Bayer - 3 Aug 2005 12:14 PM - 4 messages
Hi all, I know how to use the StrongNameIdentityPermission attribute to secure an assembly against callers which have no strong name with the given public key. Securing controls is problematic, since the Visual Studio (7) designer has no strong name (even if it would, the public key would be another). So ...
Score sn.exe exit code documentation ?
Thibaut - 3 Aug 2005 7:47 AM - 6 messages
Hi, When one calls sn.exe, what are the expected error codes (errorlevel) in return ? I'm using delay signing. I think about three cases when achieving the final signing: - assembly was signed successfully (seems to be errorlevel 0) - assembly was not signed because it's already signed with the provided key ...
Score in C# fastest way to convert a string into a MemoryStream
Daniel - 2 Aug 2005 11:01 PM - 2 messages
in C# fastest way to convert a string into a MemoryStream ...
Score Authorization against AD using MC++
albier - 2 Aug 2005 6:52 PM - 5 messages
I wrote a code with C# to authorize users against AD. Here is the code: ArrayList usersList = new ArrayList(); object groups = user.Invoke("Groups",null); foreach (object group in (IEnumerable)groups)   {     DirectoryEntry groupEntry  = new DirectoryEntry(group); ...
Score <identity impersonat=> problems.
nobody101@comcast.net - 2 Aug 2005 4:54 PM - 3 messages
I have a web service configured with Anonymous access disabled. The calling client, prior to executing a method on the service, sets its network credentials for the IIS to authenticate: CredentialCache cacheVU = new CredentialCache(); cacheVU.Add( new Uri(<my url here>), "Negotiate",new ...
Score Decrypt file in VB6 encrypted in vb.net
mark.brown - 1 Aug 2005 7:54 PM - 4 messages
HELP I have been trying for some days now to decrypt a file encrypted in VB.NET. - The algorithm being used is DES. - I understand that the cipher is CBC (by default). - ASCII key and IV supplied are 8 characters long ...
Next » 2 3 4 5 6 7 8 9 10