Windows authentication connection string encryption

I am accessing a SQL Server database using Windows Authentication

  • Do I need to encrypt the connection string in the web.config file?
  • Does the connection string (or database) name affect security? (namely ApplicationServices:?
+3
source share
2 answers
  • No. That would be useless. When using Windows authentication, your application connects as a user who opens the code DBConnectionfrom the code, usually it is a network service, if it is a web application.

  • Not unless the name is also your domain administrator password.

EDIT: , , , .

+3

. . , , . . .

, .

, - .

+3

Source: https://habr.com/ru/post/1724412/


All Articles