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

How to securely store sensitive data like passwords in an ASP.NET Core application

$
0
0

Hi,

I wonder how to properly handle passwords using ASP.NET Core MVC in production and I can't find any solution for this topic. I need to access an API and therefore have to store AD service account credentials somewhere. Using environment variables doesn't seem to be the right way, since it's not very secure. Plain text passwords in a json file don't add any security either. In ASP.NET MVC 5, I stored such data as an encrypted entry in web.config file using key containers.

So what's the best (=safest) way to do this in ASP.NET Core?

Regards,

Jonas


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>