Skip to content
← Back to Community
How to password protect a repl
Profile icon
PyanSchool

I am making a repl as a gamehub and was trying to make it so if you go onto it you have to enter a password. The repl is coded in html. Thanksin advance

Voters
Profile icon
Findahobby1
Profile icon
AgungKurniawan1
Profile icon
ShrutiSoni
Profile icon
amirramen19
Profile icon
PyanSchool
Comments
hotnewtop
Profile icon
Geocube101

Check out this post by "mat1"
Intended for Python + Flask but is compatible with Node.js + Express

Profile icon
AdCharity

html... is front end. Meaning everything is based on the client, which means it is EXTREMELY INSECURE. You need some sort of back end, either made with express/flask/other servers to add a secure password do your repl.

Profile icon
AlexanderTarn

create a .txt file for your game that contains information, then when a user puts in username and password you go over the .txt and when you find what you want just plug that information to the code and play.