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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:20:25+00:00 2026-05-26T13:20:25+00:00

I understand that an embedded password is not very secure in a C# program,

  • 0

I understand that an embedded password is not very secure in a C# program, but I would like to provide one for users that don’t want to enter a master password every time they launch my application. This password would be used to encrypt sensitive data that is written to XML files on the hard disk such as login details.

I want to avoid having the same default password embedded into every install of the software.

So they download my software application, and after installing it, they get a password generated for them that is embedded within the application. This should not be stored in a file on their computer except for being embedded within the application to try to hide it.

Looking forward to your suggested solutions …

  • 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-05-26T13:20:26+00:00Added an answer on May 26, 2026 at 1:20 pm

    You should instead use the ProtectedData class to encrypt your data.
    It encrypts data using a user-specific encryption key. It does not require a password at all, but is instead bound to the currently logged in windows account.

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

Sidebar

Related Questions

I understand that this is a very broad question, but a short it depends
I understand that they are both supposed to be small, but what are the
I understand that server-side validation is an absolute must to prevent malicious users (or
I understand that requests are served by different threads, but do they all come
I am creating a simple form. I would like to use embedded javascript to
I am not a jmeter expert, but I understand it can display graphs and
I have a Fluent nHibernate data tier that I would like to use in
I know this sounds backwards but I would like to be able to determine
I have taken over a Windows-CE 6.0 application that I would like to port
I believe this is not the popular stance but I prefer embedded hacks such

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.