Storing SQL Password in Registry?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Storing SQL Password in Registry?

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Posts
    5

    Storing SQL Password in Registry?

    I am working on a C# program that will be installed on multiple machines. In the registry I would like to store the username/password used by the program to login to MsSQL. Obviously I need to protect/encrypt this value somehow but not sure how.

    Can someone provide an example or insight on how to do this? Also, is there someway of adding the encrypted value to the registry during installation of the program?

    I am using VC# 2008 (.NET 3.5).

    Thanks,
    Brian Enderle

  2. #2
    Join Date
    Jul 2010
    Posts
    5

    Re: Storing SQL Password in Registry?

    Bump, just to see if anyone might provide some guidance in this.

    Thanks,
    Brian Enderle

  3. #3
    Join Date
    Jun 2008
    Posts
    2,477

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center