-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document new authentication (including SQLite support) #3008
Comments
Am I right in understanding that currently there is no way to do authentication with SQLite whatsoever? That is, when creating two separate databases for two different applications, there is no way of preventing one app from accessing the other's data? |
Correct. Currently, FerretDB does not store authentication or authorization information for any backend. For PostgreSQL, we use PostgreSQL's usernames and passwords: https://docs.ferretdb.io/security/authentication/. In SQLite, we don't even have that yet. There are roughly two options to solve that issue. One is to use the user-auth SQLite extension mentioned in the description. Another is to do #7 and store authentication information ourselves. |
Second option sounds harder, but also more sensible, because would give us (a) SQLite authentication and (b) a couple more supported commands in addition. Looking forward to having this! Missing SQLite authentication is the only thing that currently keeps me from switching to Ferret for my apps. |
v1.22 support authentication for SQLite via a new experimental flag: https://blog.ferretdb.io/new-ferretdb-v122-user-setup-feature/ |
I'm picking this up. Mainly, we need to update the documentation for these pages:
|
It will be out in 1.24 later today! |
What should be done?
We should document our new experimentation authentication support, including setup flags.
Where?
Docs.
Definition of Done
The text was updated successfully, but these errors were encountered: