Home All Groups Group Topic Archive Search About

.NET Security

microsoft.public.dotnet.security
Score Request.IsAuthenticated returning false when it shouldn't
thardy - 13 Jan 2006 5:19 PM - 2 messages
I'm having troubles with reading Request.IsAuthenticated in Application_AuthenticateRequest.  I have a scenario where I end up with two .ASPXAUTH cookies, and there's no way in the world I can get rid of both of them.  I set a new one, but it doesn't matter - IsAuthenticated ...
Score How to make Windows inaccessible from my software user?
Mahesh Devjibhai Dhola - 13 Jan 2006 12:38 PM - 5 messages
Hi all, The following are my need: 1. When a PC starts, my software should come up directly without any user interaction. 2. Only my software will be accessible to the user and they will not be able to access anything from Windows - nothing at all. ...
Score Issuing X.509 Certificates
Sadeq - 12 Jan 2006 11:00 PM - 10 messages
How can I programmatically issue X.509 certificates for my users? I mean people give my program their public key and other characteristics of themselves (like name, address, etc) and the program gives them a digital certificate (*.cer,*.der, etc file) which is signed by my ...
Score Instantiate Shell.Explorer.2 at runtime for a web page
jmi0@att.net - 12 Jan 2006 6:57 PM - 3 messages
I want to create a custom user control to be used in a web page (by object tag) as an assembly. The user control needs to have a web browser control in it. Having tried with the managed System.Windows.Forms.WebBrowser or AxSHDocVw.AxWebBrowser, none of them ...
Score SignedCms.ComputeSignature() gives "The recipient certificate is not specified" exception
Manoj K Srivastava - 12 Jan 2006 6:10 PM - 3 messages
The following code gives: An unhandled exception of type 'System.InvalidOperationException' occurred in System.Security.dll Additional information: The recipient certificate is not specified. SignedCms cmsMsg; ContentInfo cInfo; byte[] content; content = new byte[] { 0, 1, 1, 2, 4, 6, 6, 23, 123 }; ...
Score System.Security.SecurityException: Request failed.
danieljlord - 12 Jan 2006 12:24 PM - 8 messages
Hi, I'm getting the following error when running a VB.NET 2.0 user control within Internet Explorer (i.e. embedded as an object in an HTML page): "Microsoft .NET Framework Application attempted to perform an operation not allowed by the ...
Score Couldn;t load assembly
rpaleja - 11 Jan 2006 10:36 PM - 4 messages
Hi, I have created a custom key called "TestKey". Gave acess to NT Authority\network. Added code in web config... <configProtectedData>     <providers>       <add keyContainerName="TestKey"            useMachineContainer="true" ...
Score Using caspol to import a strong name codegroup
dfev77 - 11 Jan 2006 9:39 AM - 4 messages
Hi, I'm trying to create a new codegroup of type strong name usign the caspol utility I get an "ERROR: Unable to create specified class." error. The command line is: caspol -en -ag All_Code -custom sec3.xml FullTrust and the xml file seems to be ok, as I can import it using the ...
Score Cannot find the certificate and private key for decryption
roaddc - 10 Jan 2006 10:28 PM - 2 messages
I have the following .Net code: Microsoft.Web.Services.Security.X509.X509Certificate certificate1 = Microsoft.Web.Services.Security.X509.X509Certificate.CreateCertFromFile( certPath ); RSAParameters parameters1 = certificate1.Key.ExportParameters(true); //error here On the last line above, I get the error "Cannot find the certificate ...
Score RSACryptoServiceProvider throw exception on .net 2.0?
rongping - 10 Jan 2006 4:32 PM - 5 messages
I am working on signing and encrypting XML file with certificate in smart card. The following code I used on .net 1.1, it works fine    CspParameters CSPParam = new CspParameters();    CSPParam.KeyContainerName = "MY";    CSPParam.ProviderName = DATAKEY_RSA_SCARD_PROV; //Smart card CSP ...
Score Strange problem with user rights for impersonation.
Ken Varn - 10 Jan 2006 4:03 PM - 3 messages
I am trying to Impersonate a user in a .NET Windows Application running in Windows 2000 SP4.  Whenever I try to do the impersonation, I get an exception which states "A required privilege is not held by the client." ...
Score authentication problem migrating a Winform+WS to asp.net20+WS
Globule - 9 Jan 2006 4:35 PM - 7 messages
Hi everybody, We have a Winform application which uses x509 user certificates to connect to .net 1.1 web services. We are actually writting a new GUI in aspx.net 2.0 to host it on different server of the Webservices. ...
Score Ensuring in a certain method via a call to a method of another assembly
John H - 9 Jan 2006 9:20 AM - 3 messages
Hi, When in a method of an assembly i need to ensure it is being called via a specific method of another specific assembly. Any idea how to do this ? Regards JOhn ...
Score deploying a group policy to grant signed assemblies FULLTRUST
nenzax - 9 Jan 2006 6:01 AM - 6 messages
Hi, I checked in the .net configuration wizard(Create Deployment Package in Runtime Security Policy) all its asking is a name of the file. and there is no help avilable. Can some one help me on this. Thanks Nen ...
Score Understanding FullTrust and CAS
brettman - 8 Jan 2006 9:03 AM - 2 messages
Hi all! I've posted this problem in a number of places, but haven't been able to get to the bottom of it, so I'll try again here. I have been trying to work out ways to allow a partial trust web ...
Score Understanding FullTrust and CAS
brettman - 8 Jan 2006 8:07 AM - 5 messages
Hi all! I've posted this problem in a number of places, but haven't been able to get to the bottom of it, so I'll try again here. I have been trying to work out ways to allow a partial trust web ...
Next » 2 3 4 5 6 7 8 9 10