HighTechTalks DotNet Forums  

Setting the permissions on certificates

Dotnet Security microsoft.public.dotnet.security


Discuss Setting the permissions on certificates in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
markus.shure@gmail.com
 
Posts: n/a

Default Setting the permissions on certificates - 03-25-2007 , 08:35 PM






Hey, is there are way to set the permissions on the certificate when
it's been added to the Windows certificate repository? I'm currently
using the 'X509Store' class to add certificates to the repository
using the flag options to persist the private key but I'd like to be
able to add them to the 'LocalComputer' store and give ASP.NET
permissions to access the privte key, similar to how the WSE 3.0
certificate tool works. Is this possible?

Thanks,
Markus


Reply With Quote
  #2  
Old   
Dominick Baier
 
Posts: n/a

Default Re: Setting the permissions on certificates - 03-26-2007 , 01:51 AM






You need to write a little more code for that, have a look here:

http://www.leastprivilege.com/HowToG...rtificate.aspx

-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

Quote:
Hey, is there are way to set the permissions on the certificate when
it's been added to the Windows certificate repository? I'm currently
using the 'X509Store' class to add certificates to the repository
using the flag options to persist the private key but I'd like to be
able to add them to the 'LocalComputer' store and give ASP.NET
permissions to access the privte key, similar to how the WSE 3.0
certificate tool works. Is this possible?

Thanks,
Markus



Reply With Quote
  #3  
Old   
markus.shure@gmail.com
 
Posts: n/a

Default Re: Setting the permissions on certificates - 03-26-2007 , 02:00 AM



Great, thanks for the help.

Markus


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.