Answer the question
In order to leave comments, you need to log in
Is it possible to store private user data in text files instead of a database?
Let's say there is some text/numeric id that uniquely identifies the user. It doesn't matter where I get it from.
The /users folder contains *.json files. File name == user id. These are some user settings + info - hashed password, email. mail and so on.
At the nginx / apache level, we prohibit giving json files in principle
. Tell me, does such a solution have the right to exist? Are there security issues here?
Answer the question
In order to leave comments, you need to log in
Tell me, does such a decision have the right to exist? Are there security issues here?
The solution has a right to exist, this is how sessions work in PHP.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question