Home All Groups Group Topic Archive Search About

.NET Security

microsoft.public.dotnet.security
Score Opening port ranges with Windows Firewall
vkint128 - 12 May 2006 8:37 PM - 3 messages
Does anyone know how to open a range of ports (instead of entering the ports one-by-one) using the Windows Firewall on a 2003 server? ...
Score Security settings for subfolders and files
torhenningskjerve - 12 May 2006 2:25 PM - 2 messages
I have created a new Directory from my C# application. Here's how I set users permission : DirectoryInfo di = Directory.CreateDirectory(sPath); DirectorySecurity dSecurity = di.GetAccessControl(); // Add the FileSystemAccessRule to the security settings. dSecurity.AddAccessRule(new FileSystemAccessRule(userName, FileSystemRights.FullControl, AccessControlType.Allow)); ...
Score CodeAccessSecurityAttribute and named parameters of type System.Type
Willem van Rumpt - 12 May 2006 9:04 AM - 3 messages
Hi, I'm working on the authorization subproject of our framework, and defined a class that derived from CodeAccessSecurityAttribute. One of its named parameters is of type System.Type (actually, it should've been a required constructor parameter, but CodeAccessSecurityAttribute ...
Score kernel32 - LogonUser cross domain login
Henrik Skak Pedersen - 11 May 2006 2:16 PM - 3 messages
Hi, I am using the LogonUser method to authenticate ad users, and it normally works with no problems. But now I am trying to authenticate users across domains and there it fails. If I open a folder on a machine on the other domain using the ip address, it ...
Score Help on use of Impersonation ????
serge calderara - 11 May 2006 12:31 PM - 2 messages
Dear all, I am studying security topic for my next exam and I am actually face to a topic about securing ASP application. In that part is explain that you can secure your application either from IIS or from your config file but it is ...
Score Service and LocalSystem account network access
Tomas - 11 May 2006 8:53 AM - 5 messages
Hello, I'm using windows service using LocalSystem account to connect to MSSQL database on other server. I'm connecting using SqlConnection class and connection string "Integrated Security=SSPI; .... I get SqlException: Logon failed for user 'NT AUTHORITY\ANONYMOUS LOGON' ...
Score Controling framework security programmatically
Shawn B. - 10 May 2006 7:16 PM - 2 messages
Greetings, I'm new to this group so forgive me if I'm hitting on a frequent topic. I am creating a Windows application.  I want to be able to control access to the FCL via some kind of policy for the Plugins of the application.  In ...
Score Get user credentials from web.config
ca - 10 May 2006 1:34 PM - 2 messages
I am trying to redirect a user to error page and display an error message saying they do not have the proper credentials to access the applications in vb.net. How do i do this at application level or website level. I want to ...
Score PKCS
SAV - 10 May 2006 12:30 PM - 23 messages
This is a .NET example for signing a message: C# // The dataToSign byte array holds the data to be signed. ContentInfo contentInfo = new ContentInfo(dataToSign); // Create a new, nondetached SignedCms message. SignedCms signedCms = new SignedCms(contentInfo); // Sign the message. signedCms.ComputeSignature(); ...
Score VS projects on network drives
Valeria Dal Monte - 10 May 2006 9:46 AM - 2 messages
Hi, I want to open a project that is on a network share with Visual Studio, when I open it VS tells me that the project location is not trusted, that is it does not have full trust to execute, and this is good, since executing a ...
Score 401 generic error handler. Please help
ca - 10 May 2006 2:54 AM - 7 messages
Can anyone please help me directing me how to do this. I am trying to write a generic 401 error handler written in .net 1.1 which will fire when a user gets denied access to a .net application. This error ...
Score Windows logon from external program/service
marko - 9 May 2006 11:28 AM - 4 messages
Is it possible to create a *Windows service* that could make logon to desktop/console (instead of manual user logon-entering username and password)...something like Remote Desktop does when someone connects via RDP, but on local console? I don't want to autologon when starting Windows, but to logon from that ...
Score s4u2proxy
pmoore - 9 May 2006 12:01 AM - 18 messages
I want to access a remote service using creds obtained via protocol transition. I get the s4u user creds fine (WindowsIndentity("joe", "Kerberos")) I impersonate the I call AcquireCredentialsHandle (becuase I want to do InitSecContext next) The Call fails with 80090305 - unknown security package ("Kerberos"), the ...
Score X.509 - Create Programmatically
Dave - 8 May 2006 5:49 PM - 6 messages
I'm being asked to automate our installation process in order to prevent as many user errors as possible. I am looking to see if I can use the .NET framework to >>> create <<< a ...
Score Decryption Not working in VB.net
Vincent - 8 May 2006 1:53 PM - 2 messages
On Windows using VB.net I am using RijndaelManaged alogrithm in ECB mode to decrypt the data  that is sent from a 'C ' application which is running on Linux and it is using the same alogrithm (rijndael-128 with ecb mode) and the encryption keys are same on ...
Score MD5Crypt in .net
TIBM - 7 May 2006 6:37 PM - 10 messages
Hi. I posted this question on the wrong forum before. I'm hoping that I'll have more luck here. I'm working on a project in which I need to use MD5 cryptography. The requirements are vague, but I need to do both: compute the MD5 hash of a ...
Next » 2 3 4 5 6 7 8 9 10