Skip to content
Advertisement

Protect Web pages using password or authentication service

I would like to know if there is a way to password protect web pages developed with simple HTML/ javascript.

I am hosting the web page on netlify and I have also tried hosting on Firebase and it is working from both ends but I do not want anyone with a link to be able to view and use the website.

Thanks for your help in advance.

Advertisement

Answer

I don’t think there’s a way to do this with Firebase, but Netlify does allows for site-wide passwords (with the caveat that you have to pay for their Pro service, as per their pricing page). If this is truly important enough that you need to password protect your pages, it’s probably worth it.

Advertisement