Method for securing sensitive connection string information - ASP.NET Security

Q.  What is the recommended method for securing sensitive connection string information?
- Published on 31 Aug 15

a. Encrypting the data in the application configuration file
b. Using a code obfuscator
c. Using Integrated Security (Windows Authentication)
d. Querying the user for his or her credentials at run time

ANSWER: Using Integrated Security (Windows Authentication)
 

    Discussion

  • Sangeeta   -Posted on 16 Sep 15
    Using Windows Authentication you can secure sensitive connection string information. Windows authentication can be achieved in a connection string by using the Integrated Security attribute. It eliminates the use of user ID and password. If you are using Windows authentication, users are automatically authenticated by windows.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)