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 161961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:18:23+00:00 2026-05-11T11:18:23+00:00

I need to store my users’ name/password somewhere (preferably the Registry) so my .Net

  • 0

I need to store my users’ name/password somewhere (preferably the Registry) so my .Net application can use them to log in to some remote service on behalf of the user. I know it’s possible to store values in the registry as ‘secrets’, which means their encrypted using the Windows domain user token or something. In other words, I don’t want to have to deal with the encryption myself.

To clarify: I can’t store hashes of the password or salt them or anything. These credentials are for a 3rd party system and the only way for me to be able to login to this system on behalf of my users is to somehow keep their credentials and be able to restore them.

So anyway, I remember vaguely there’s such a place in the registry, but the details are murky. And I need to do it in C# (though if it’s simple registry access it shouldn’t matter).

Edit: One more thing, it should persist between Windows user sessions (IOW it doesn’t help me if the password in unreadable after the user logs off and on).

  • 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. 2026-05-11T11:18:24+00:00Added an answer on May 11, 2026 at 11:18 am

    You’re probably thinking of the Data Protection API. Search MSDN or read some blogs and see if that’ll work for you.

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

Sidebar

Related Questions

I need to store the application settings somewhere, but can't find a satisfying solution.
I'm working on an application and I need to store the users password, so
I need a way to store application-level data (i.e. cross user sessions) in ASP.NET.
I am designing a C# application in which I need to store users' login
Users of the website need to able to store images in their area ,
I have a list of users in local store that I need to update
I need to store user credentials in my app. I can store and retrieve
After a user signs in and his password is verified, I need to store
I am working on an application in which i need to store all the
I need to store about 100 thousands of objects representing users. Those users have

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.