Contents

Posts in microsoft.public.dotnet.security

 

How can I access more properties of the AD Acount  Replies (1) 16 January 2006
Im developing a c# application and i want to access properties like the name of the person. example: DOMAIN\jsmith - I want to Access "John Smith" the same way Share Point does for the its user...

 

CredUIPromptForCredential and certificates  Replies (1) 16 January 2006
Hello, I'm currently using the CredUIPromptForCredentials method (wrapped in a common dialog) to query the user for a password. Now I wonder how to use the smartcard functionality of that funct...

 

FtpWebRequest over SSL  Replies (1) 13 January 2006
I have been working for the last several days on a small progam to retrieve the directory from an FTP server. I have one site that is not using SSL, and the code works fine, but another site that...

 

Request.IsAuthenticated returning false when it sh ...  Replies (1) 13 January 2006
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 r...

 

update/insert with microsoft.xml.xquery(.net2.0bet ...  Replies (1) 13 January 2006
update/insert with microsoft.xml.xquery(.net2.0beta) can anyone provide an example of how to update/insert with microsoft.xml.xquery?...

 

System.Security.SecurityException: Request failed.  Replies (1) 12 January 2006
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 attempte...

 

SignedCms.ComputeSignature() gives "The recipient ...  Replies (1) 12 January 2006
The following code gives: An unhandled exception of type 'System.InvalidOperationException' occurred in System.Security.dll Additional information: The recipient certificate is not specified. S...

 

where does Microsoft.Xml.Xquery live?  Replies (1) 12 January 2006
where does Microsoft.Xml.Xquery live? where does Microsoft.Xml.Xquery live? all i can find is a copy of it in the sample project: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/...

 

Issuing X.509 Certificates  Replies (1) 12 January 2006
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 giv...

 

Using caspol to import a strong name codegroup  Replies (1) 11 January 2006
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 -cus...

 

Couldn;t load assembly  Replies (1) 11 January 2006
Hi, I have created a custom key called "TestKey". Gave acess to NT Authority\network. Added code in web config... Trying to run following code to encrypt config fi...

 

Strange problem with user rights for impersonation ...  Replies (2) 10 January 2006
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 hel...

 

RSACryptoServiceProvider throw exception on .net 2 ...  Replies (1) 10 January 2006
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.K...

 

Cannot find the certificate and private key for de ...  Replies (1) 10 January 2006
I have the following .Net code: Microsoft.Web.Services.Security.X509.X509Certificate certificate1 = Microsoft.Web.Services.Security.X509.X509Certificate.CreateCertFromFile( certPath ); RSAPa...

 

Ensuring in a certain method via a call to a metho ...  Replies (1) 9 January 2006
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...

 

authentication problem migrating a Winform+WS to a ...  Replies (1) 9 January 2006
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 serv...

 

Help: Could not find schema information for the el ...  Replies (1) 9 January 2006
Hi, I've got this problem, trying to add a simple user authentication feature to my web service. I added the code directly copy-paste from MSDN as well as trying load of other ideas why this migh...

 

image not displayed in login control  Replies (1) 8 January 2006
Hi there, the image in the LoginButtonImageURL is only displayed when anonymous users are allowed in the web.config. I thought static files such as images were allowed to be displayed when sec...

 

Understanding FullTrust and CAS  Replies (1) 8 January 2006
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 ...

 

Understanding FullTrust and CAS  Replies (1) 8 January 2006
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 ...

 

deploying a group policy to grant signed assemblie ...  Replies (1) 8 January 2006
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...

 

Basic CAS Question  Replies (1) 7 January 2006
I am new to CAS and sould like to know if it is possible to do the following: I would like to attribute properties and methods ClassA so that they may only be called by ClassB otherwise an error...

 

NetworkService  Replies (1) 7 January 2006
Hi All, I have a windows service which suppose to stop and start other windows service. Services are sitting in different machine (xp prof. and 2003). The service is logged on as NetworkService. ...

 

NetworkService / Windows Service - Exception  Replies (1) 6 January 2006
Hi All, I'm working with .NET 1.1 , windows xp prof. and windows 2003. I'm running 2 windows service: ServiceA and ServiceB. ServiceA is in win2003 machine and ServiceB is in XP machine. ServiceB ...

 

FIPS Validated AES Encryption  Replies (1) 6 January 2006
I'm needing to use FIPS 140-2 validated AES encryption with in .NET 1.1. I have gotten conflicting reports regarding the validation status of this particular class. Can someone please verify whe...

 

Where to get good security advice?  Replies (1) 6 January 2006
I'm reading O'Reilly's .NET Security right now and it is very informative. The book is filling me in on the various classes in the Security namespace and teaching me the very basics on how to use...

 

ASP.NET app files security  Replies (1) 6 January 2006
I'm working on a ASP.NET app and as part of the app I'm uploading some pictures to the web server and these pictures can then be accessed by authorized users by clicking on a link. All the aspx f...

 

HTTPS Posting Help needed  Replies (1) 6 January 2006
I have been struggling with this for a couple of weeks. I have a digital certificate installed in my certificate collection store on my local computer. The site I am trying to post to also has o...

 

SecurityException when app moved to network  Replies (1) 6 January 2006
Hi Everyone: I have asimple app as below using System; using System.IO; using System.Security; class App{ public static void Main(string[] args){ StreamR...

 

Windows XP Password  Replies (1) 5 January 2006
I have locked myself out of my laptop. I don't remember the password. Can anyone help?...