Connect to MSSQL without connection string in web.config

Hi,

I have a .NET application which is hosted on a web server and an MSSQL db hosted on a different server.

As part of the security checklist, I am not supposed to mention the db credentials (connection string) in my web.config file. (not in any of the files)

How do I connect to the database without having the details mentioned in my web.config.

Any help would be highly appreciated.

thanks

0 answers