Results 1 to 4 of 4

Thread: Storing a change to a password?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    14

    Storing a change to a password?

    Hi guys...

    I have several forms which use a password (which im currently storting as a string in each form that uses it).

    WHat i would like to do is be able to change this password so that any changes are kept when i shut down the program and then run it again the next day (if that makes sense).

    I would like to avoid using some external file to store the variable (like a database or text file) if possible.

    Anyone able to help?

  2. #2
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,547

    Re: Storing a change to a password?

    Quote Originally Posted by N3il
    Hi guys...

    I have several forms which use a password (which im currently storting as a string in each form that uses it).

    WHat i would like to do is be able to change this password so that any changes are kept when i shut down the program and then run it again the next day (if that makes sense).

    I would like to avoid using some external file to store the variable (like a database or text file) if possible.

    Anyone able to help?
    use "savesetting" and "getsetting".

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    14

    Re: Storing a change to a password?

    Quote Originally Posted by high6
    use "savesetting" and "getsetting".
    Is saving the variable to a configuration file secure?

  4. #4
    Addicted Member zahadumy's Avatar
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    187

    Re: Storing a change to a password?

    You could use an algorithm to crypt and decrypt the passwords and store them in some external file. I know you said you'd like to avoid this, but I think this is a matter of security. If you store them crypted this is not a problem any more.
    The first step in solving a problem is to define the problem clearly.

    -----
    Icons | EZIconConverter | Popup Messages
    101 samples: 2003 2005
    Code converter: C# -> VB .NET | VB .NET -> C# | VB .NET <-> C#


    -----
    Visual Studio 2005/.NET Framework 2.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width