February 23, 2019, 01:33:18 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: Password protecting entire web site  (Read 4474 times)
Posts: 1

« on: February 05, 2015, 11:54:35 PM »

This looks like something that will work for me, but all of the discussion seems to be about protecting an individual page, and repeating the exercise with other pages.
What if I just want to password protect my entire web site (i.e. a directory containing all the pages of the site)?
Is it simply a matter of password protecting my home page, or is there more to it that that?
My apologies if this sounds naive, but I just discovered this script recently, and want to act quickly on the implementation that I have in mind.


Hero Member
Posts: 788

« Reply #1 on: February 06, 2015, 03:01:30 AM »

Every page should have protection code included. But as most sites include some file into every page (some setting, header, or somilar), you'd have to add protection code only to that file and it spreads to all pages.
Pages: [1]
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC