I'm interested in creating a user database for a program I am designing in python. I have done lots of research, but I'm still not sure about some parts and how I should go about this.
So my client application will not be a webapp and instead will be a GUI program.
I'm wondering how I can securely create and manage a user the "proper way".
My first thought was to have the client program connect directly to the DB and create a user and manage itself. I've seen this before, but only with flask/django.
I soon realized this might not be the proper way to do it because these functions would be executed on the flask server while mine would just be executed on my program.
So how do I go about managing a DB (for non-trusted users) on an application.
I was thinking about making some sort of API to communicate with my client program that manages the database, but I'm not sure.
Ideas?
So my client application will not be a webapp and instead will be a GUI program.
I'm wondering how I can securely create and manage a user the "proper way".
My first thought was to have the client program connect directly to the DB and create a user and manage itself. I've seen this before, but only with flask/django.
I soon realized this might not be the proper way to do it because these functions would be executed on the flask server while mine would just be executed on my program.
So how do I go about managing a DB (for non-trusted users) on an application.
I was thinking about making some sort of API to communicate with my client program that manages the database, but I'm not sure.
Ideas?