When and Where to Encrypt or Decrypt the app.config File?


  • Hi


    When do we normally initiate encrypting a .config file? Suppose we have a windows application and we want to


    encrypt the app.config file to make a connectionstring's username and password unreadable. When and where do we


    do this in the application? Does it have to be done once or it needs to be done over and over in the application.


    If a connectionstring in an app.config file is encrypted, will it still be available as connection property to SqlConnection


    or it needs to be decrypted first? Okay, now im totally confused!!!


    need your help guys.



    Sunday, August 19, 2007 3:06 PM


All replies