Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

How do I password protect my website?

Let's say that I have website example.com and when people go there it asks for a password and when you type it you get redirected to example.com/private so how can I do this?
Did you even take the time to Google it up before asking here?
https://www.formget.com/login-form-in-php/
can literally directory lock
(Jun 29, 2018 04:42 PM)✔ Soufian ✔ Wrote:  Did you even take the time to Google it up before asking here?
https://www.formget.com/login-form-in-php/

I have no idea what that means (I don't know much about php) so I just need simple script to do this with password only option.

There are many scripts available. Look on https://codecanyon.net/
just use a session variable in PHP with either a preset password on the backend or link it to a mysql db
im assuming you have a cpanel

[Image: setup-password-protect-directories-cpane...=800%2C575]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by FabricFeb 9, 2014 10:10 AM 9 120 Feb 9, 2014 10:10 AM
Last Post: MrCortex
by GreenSoapJan 27, 2013 08:32 PM 1 75 Jan 27, 2013 08:32 PM
Last Post: Jαmes
by Webman.ioAug 8, 2012 01:46 PM 2 99 Aug 8, 2012 01:46 PM
Last Post: MuGen-7