Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

What is the best place to store sensitive info inside asp.net MVC core web application (appsettings.json OR database)

$
0
0

I am working on an asp.net MVC web application, and inside my code i am sending email using an SMTP server, and to do so i need to pass the username and password. currently i have the password inside my code, but i am not sure what is the best place to store the password inside asp.net core MVC ? For example inside the appsettings.json or inside the database?


Viewing all articles
Browse latest Browse all 9386

Trending Articles