Password Protecting a Single Page

User 2796102 Photo


Registered User
66 posts

I'm looking for a way to password protect a single page within a website. This is for a members only section that will have information that is available to only certain members. Coffee Cup used to have a password program but they don't have anything like that anymore. Any help would be appreciated.
User 2792467 Photo


Registered User
161 posts

Simple solution:
Give that page the name: supercalifragilisticexpialidocious.html and don't link to it from any of your webpages.
Make the URL (full name of your website page) available to members only.

Or use a javascript (lot's of examples if you google on "password protection html page"

If you want it to be secure, you will need access to your webserver and use a database and session variables to verify and store the password. Create a login form and use php or other language to process the form and access the database. It is also depending on the kind of webserver you use. You will probably need some one with technical skills to do it for you.
Eindhoven :: Netherlands

It's easy to see, once you see it.
User 187934 Photo


Senior Advisor
20,181 posts

Search for a php login script. There's plenty out there with instructions that are very easy to implement.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2695940 Photo


Registered User
148 posts

Here is a free php script that I've used a couple of times. Very easy to setup and use. They may have a more sophisticated one in their list of paid scrips.

https://www.phpjabbers.com/free-passwor … nt-script/
John Ferguson
Website Design and Development
www.jf1.co
User 2839879 Photo


Registered User
99 posts

I've really got to check this out sometime.
CoffeeCup Websites:
City Church Christchurch: https://city.org.nz
Champion Freight: https://www.championfreight.co.nz/
eChamp: https://echamp.co.nz/
Champion Containers: http://championcontainersnz.com/

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.