fields will be filled by user on app installation)
Which way is better to store data, JSON or Sqlite ?
I'm using ASP dotnet 5 and app will work with MySql, MsSql, PostgreSql and Sqlite related to users config
you want to use a db to store the config to connect to another db? use a configuration file. it can be json
Yes exact db config with some other fields about app installation how to secure json file ?
secure in what way?
!admins
plain text file is not secure
how do you think things are deployed? the application needs to know the username/password to connect to the db.
Yes but storing db pass in plain text is not so good
you'll store it on a sqlite db then? and you think that's secure?
isn't ? i can use password on sqlite db but not on json file
how will your application open the sqlite db to get the other db's password? 🤔
what ? like other databases
Didn't you just say you're going to store the application configuration on a sqlite db, including the password to connect to the mysql db?
This doesn't answer my question. how will your application know the password to the sqlite db in the first place?
thats constant
wait, what?
https://www.vaultproject.io/
The best solution
Обсуждают сегодня