![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Active Warrior
Join Date: Mar 2009
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
|
Hi everybody
Is it possible to protect webpage made in NVU by any password? If yes - please explain me how (I'm very short-mind in programming and web design) Thanks a lot |
|
|
|
|
|
#2 |
|
Active Warrior
Join Date: May 2009
Location: Christchurch, New Zealand
Posts: 43
Thanks: 12
Thanked 2 Times in 2 Posts
|
You Could us .htaccess?
Step 1: Insert the below code into your .htaccess file, and upload this file to the directory you wish to protect (or which the files you wish to protect is under): .htaccess: AuthName "Restricted Area" AuthType Basic AuthUserFile /home/yoursite/.htpasswd AuthGroupFile /dev/null <Files index.html> require valid-user </Files> <Files page2.html> require valid-user </Files> <Files page3.html> require valid-user </Files> Step 2: Save the below code into a file called .htpasswd, and upload this file to the location as specified in the "AuthUserFile" line above. It contains your username(s) and encrypted password(s). Important: .htpasswd should be put in a non public folder, such as directly above your public HTML folder, to prevent visitors from viewing this file in the browser. .htpasswd: fred:vYlqMZMl8c3mkSo to recap:
Your password is "Jones" and user name is "Fred" |
|
Looking for Internet Marketing Peers to collaborate with.
This is how i make "$3,203 - $5,247 per week" If you found my post useful, please don't forget the "Thanks" button below, |
|
|
|
|
|
|
#3 |
|
HyperActive Warrior
War Room Member
Join Date: Apr 2009
Location: US
Posts: 119
Thanks: 4
Thanked 2 Times in 2 Posts
|
What does NVU stand for?
|
|
|
|
|
|
|
|
|
#4 |
|
Warrior Member
War Room Member
Join Date: Nov 2006
Location: London (Canada!)
Posts: 28
Thanks: 0
Thanked 2 Times in 2 Posts
|
Hello! :-) That's the name of a reasonably popular open source
web authoring system. Some people really like using it because it has a what-you-see-is-what-you-get editor that makes creating HTML pages easier for those who don't know much about HTML. |
|
|
|
![]() |
|
| Tags |
| nvu, page, password, protection |
| Thread Tools | |
|
|
![]() |