Help with a secure login
AzureScripts (150)

I am trying to password protect my website, where it asks for a username and password before entering.
But is there a way to allow it so that my python script can access the contents and text on the site, but ask for a password with normal users

You are viewing a single comment. View All
ebest (574)

@AzureScripts well there you go. I was thinking of writing a .env file with all the website's actual content, like if you put all the content to be printed out in a module in the middle of a .env file and then made it so that the login module called the module inside of the .env file... a little complicated, but I gave you the answer up there. Can you accept it? Or this one?