Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9117801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T04:58:56+00:00 2026-06-17T04:58:56+00:00

I am using per-user Win32 cryptographic key containers (via .Net RSACryptoServiceProvider class) to store

  • 0

I am using per-user Win32 cryptographic key containers (via .Net RSACryptoServiceProvider class) to store a private key used to decrypt stored passwords in a password manager.

How secure is that private key stored? Obviously any program running from the same user account can access it. But is the key actually encrypted based on the user’s password?

Can I assume that the private key is accessible only once the user is logged on? Or can a service (or another account) still extract the key? Can the computer administrator not knowing the user’s password extract it? Can the key be extracted by resetting the user’s password using an administrative account? If the computer gets stolen and the attacker can access the harddisk (but does not know the user’s password), can he extract the private key? If the user has locked the session, can an attacker extract the key from memory using an administrative account/kernel driver?

P.S. I know about the ‘master key’ pattern, but it’s not acceptable in my case, so I need to store the passwords the most secure way I can.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T04:58:57+00:00Added an answer on June 17, 2026 at 4:58 am

    A user’s private keys should only be accessible once that user is logged on, and cannot be accessed simply by resetting the user’s password then logging in using the reset password (indeed, prior to resetting a users password, there are warnings that the user will lose access to encrypted data etc.) See: http://support.microsoft.com/kb/290260

    However, once the user is logged in, there is the possibility for other users’ processes on the same machine with sufficient privileges (generally only granted to administrative/system accounts) to access the stored keys, e.g. by injecting code into a users process that will run I’m the context of the user and hence be able to do anything the user could do with the key (use it to decrypt, sign, or export the key, etc.).

    Enabling strong private key protection may mitigate some of these issues by requiring the user to enter a password for the key whenever it is used. Even with this, it would likely still be possible for malicious code to intercept the key’s password.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When using the CFPreferences API to store and retrieve per user and machine wide
I am using the following code to set orientation locking per user preference: private
I've decided to implement a user login using a per-user salt, stored in the
I'm using user-per-app configuration on an Ubuntu server running ruby 1.9.3 and rails 3.2.8.
I'm building a per-user file browsing/uploading application using Django and when I run this
I have a Windows forms application that contains per-user settings. I'm using Properties.Settings.Default.Upgrade() to
So, I'm cool with using a per-user salt to hash my users' passwords. However,
I am trying to query a database within grails using: def per = User.get(springSecurityService.principal.id)
I'm using SQL Server to store several bits of information about each user. Some
I am using cancan with one role per user. The roles are integers instead

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.