json - ASP.NET Core, Application Settings, and Security -


in earlier versions of mvc/web api put settings in web.config , assume server not serve web.config - things smtp settings , database connections. if settings typically had larger issue.

now, in asp.net core, putting settings json files, or using environment variables - not option if putting site shared hosting solution can't access os. causes concern me putting usernames, passwords, , connection strings json file.

  1. is there possibility of web server serving json files - if custom named , not appsettings.json? i'm not sure if iis protects these files did web.config , can't seem locate postings on topic.

  2. is there better/recommended way handle storage of things username , password settings other in plaintext in json file - assuming environment variables not option you?

  3. is there no way take advantage of web.config in asp.net core sensitive information?

thank taking time answer questions.


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -