Re: encrypt connectionString in app.config

Discussion in 'ASP .Net' started by Rajeev Gopal, Jun 10, 2010.

  1. Rajeev Gopal

    Rajeev Gopal Guest

    On Jun 9, 3:53 am, maz77 <> wrote:
    > Hi,
    >
    > I am developing a Windows Application in C# with Visual Studio 2008. The
    > App.config of the application contains the connection string into the
    > AppSettings section.
    > What is the better way to encrypt the connection string?
    > Is there a way to make it during deployment, so that the deployed
    > App.config is already encrypted and ready to be used on production server?
    >
    > Thanks
    >
    > MAX


    Hi Maz77,

    Try this out:
    http://msdn.microsoft.com/en-us/library/ff647398.aspx

    Thanks,
    Rajeev
     
    Rajeev Gopal, Jun 10, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Islam Elkhayat

    SQL ConnectionString in web.config

    Islam Elkhayat, Dec 23, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    22,509
    Steve C. Orr [MVP, MCSD]
    Dec 23, 2004
  2. rockdale
    Replies:
    2
    Views:
    536
    Mohamad Elarabi
    Dec 20, 2007
  3. den 2005
    Replies:
    4
    Views:
    224
    den 2005
    Jul 26, 2006
  4. Arne Garvander

    Encrypt connectionstring in web.config

    Arne Garvander, Nov 2, 2007, in forum: ASP .Net Security
    Replies:
    1
    Views:
    163
    Consultant
    Nov 5, 2007
  5. http://ejobseek.com

    Encrypt in Perl, De-encrypt in Javascript

    http://ejobseek.com, Sep 1, 2003, in forum: Perl Misc
    Replies:
    3
    Views:
    290
    James Willmore
    Sep 1, 2003
Loading...

Share This Page