If i decide to make a program with a working login feature, which would be public.
Is there a way to make it so that i can have a database setup on a website with all the login info?
But have it secure enough so you can't just open the .py and get all the usernames and passwords
I'd say one of the easiest ways to set up a database is using jsonstore.io. You don't even have to log in, all you need to do is grab your endpoint and start working with it.
If you're working with python, you can use leon's client for jsonstore, which will make it even easier.
As for making it secure, you'd use a
.env file to store your endpoint like @AllAwesome497 mentioned, to make it so that people can't just come along and see what's in your database. Only you can see what's in your
If you want to see or modify your database, you can use reqbin to manually send http requests to your endpoint.
As long as you don't disclose your endpoint to anyone, this method should ensure that nobody can see anyone else's information, and you can change any information at any time.
If you're stuck anywhere, I'll be happy to help!