Answer the question
In order to leave comments, you need to log in
How to implement a php/mysql user system?
There was a need to implement a classic system of users on the site (php, mysql). The user can create/edit/delete his entries. Accordingly, other users can only view other people's entries, the administrator has access to editing / deleting other people's entries.
Looked at the implementation a little. I learned about user groups, their rights, checking rights when accessing data, and so on and so forth.
Several questions emerged. Perhaps someone can comment on them:
Answer the question
In order to leave comments, you need to log in
mysql has an implementation of the user rights system with flexible data access settings. When a user registers on the site, he is assigned these rights, i.e. are these features of mysql being used?No, these are purely database users, for this they are not used in web applications.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question