so I've created a website using html and a code in python that redirects to it if you have the password and username correct(blank is a substitute for private info):
import time
import webbrowser
print("To access the website Enter your username and password bellow")
x=input("Username:")
y=input("Password:")
if x=="dsafro9156" and y=="D24$m?!tdy":
    print("Access granted rederecting you to the website")
    time.sleep(1)
    webbrowser.open('nasa.gov')
else:
    while x!="dsafro9156" and y!="D24$m?!tdy":
        print("Access denied. Please try again")
        print("                ")
        print("-------------------------------------------------------")
        print("                       ")
        x=input("Username:")
        y=input("Password:")
        if x=="dsafro9156" and y=="D24$m?!tdy":
            print("Access granted rederecting you to the website")
            time.sleep(1)
            webbrowser.open('nasa.gov')
    
is there any way I can make the website inaccessible? I'm not looking for hackerproof stuff just something to make sure you couldn't just bookmark the tab but actually had to log in.
