Похожие чаты

I'Ve an web app which uses dynamic db connection (connection

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

20 ответов

4 просмотра

you want to use a db to store the config to connect to another db? use a configuration file. it can be json

Kazem- Автор вопроса
Gian
you want to use a db to store the config to connec...

Yes exact db config with some other fields about app installation how to secure json file ?

!admins

Kazem- Автор вопроса
Gian
secure in what way?

plain text file is not secure

Kazem
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.

Kazem- Автор вопроса
Gian
how do you think things are deployed? the applicat...

Yes but storing db pass in plain text is not so good

Kazem
Yes but storing db pass in plain text is not so go...

you'll store it on a sqlite db then? and you think that's secure?

Kazem- Автор вопроса
Gian
you'll store it on a sqlite db then? and you think...

isn't ? i can use password on sqlite db but not on json file

Kazem
isn't ? i can use password on sqlite db but not on...

how will your application open the sqlite db to get the other db's password? 🤔

Kazem- Автор вопроса
Kazem
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?

Kazem
yes

how do you plan to open a password protected sqlite db in the first place?

Kazem
normally

This doesn't answer my question. how will your application know the password to the sqlite db in the first place?

Kazem- Автор вопроса

Похожие вопросы

Обсуждают сегодня

А чем вам питонисты не угодили?😂
.
79
or any website to buy prepaid card with xmr that's not trocador that's down?
Umbrella Party Partner
18
Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
75
Hi, I can't understand promises in JavaScript and what we should use them for (maybe the teacher didn't teach well XD). Do you have a solution for this? And are promises used...
A
29
Ещё такой вопрос. Мне необходимо хранить пароль пользователя локально. Для этого планирую использовать ini файл. Это для автозаполнения полей логин и пароль при авторизации. Е...
Евгений
19
всем доброго времени суток! имею вопрос: как понять ТОЧНО, что на нексус производится атака или он перегружен? исходные данные: - Nexus OSS 3.67.1-01 на OrientDB - Total co...
Michael Kostelcev
2
Ты просто гитлеровскую эстетику плохо понимаешь. Он же всё под Цезаря делал. А это как бы запрещённый приём в политике. Пиджаки они зачем все носят? Чтобы показать что они тип...
Ivan Kropotkin
4
Xem delist ho rha hai agr naa bhechu toh kya hoga after 1 july?
ABHI
27
i need usdt exchanged to xmr without kyc any site there ?
Certained
12
Did you guys see the latest tweet from TonGifts? 🚀
Mike
44
Карта сайта