8
I come here with a question about ConnectionStrings
of Web.config
.
Seeing that normally, we inform a form of authentication on ConnectionStrings
for the application to access the database. And by default, anyone who can gain access to the server where the application is installed will have access to the database through the data contained in ConnectionStrings
.
I know how to encrypt using the aspnet_regiis
, for those who do not know, a short tutorial can be seen here. But in the same way that the data will be "encrypted", just use the same command, only changing the parameter that will have the data "decrypted" again.
On that basis comes my doubt: How to encrypt the ConnectionStrings
. of Web.config
to hide database access data?.
Do you use any ORM to connect to the database?
– Jéf Bueno
@jbueno In this case would be with EF, but would fit with Dapper tbm.
– Randrade