Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Security / March 2007

Tip: Looking for answers? Try searching our database.

Setting the permissions on certificates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
markus.shure@gmail.com - 26 Mar 2007 01:35 GMT
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
Dominick Baier - 26 Mar 2007 06:51 GMT
You need to write a little more code for that, have a look here:

http://www.leastprivilege.com/HowToGetToThePrivateKeyFileFromACertificate.aspx

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

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

> 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
[quoted text clipped - 6 lines]
> Thanks,
> Marku
markus.shure@gmail.com - 26 Mar 2007 07:00 GMT
Great, thanks for the help.

Markus

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.