War Room

Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Featured Warrior Special Offer...
"Members Of The *War Room* Discover Secrets To Immediate Success!"
Reply
 
LinkBack Thread Tools
Old 05-09-2009, 02:37 PM   #1
Active Warrior
 
Join Date: Mar 2009
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
Default Password protection for NVU page

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
enterprice is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-10-2009, 07:48 PM   #2
Active Warrior
 
eric.watson's Avatar
 
Join Date: May 2009
Location: Christchurch, New Zealand
Posts: 43
Thanks: 12
Thanked 2 Times in 2 Posts
Social Networking View Member's FaceBook Profile 
Contact Info
Send a message via AIM to eric.watson Send a message via MSN to eric.watson Send a message via Skype™ to eric.watson
Default Re: Password protection for NVU page

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:
  1. Upload ".htpasswd" to the root or a non publically accessible directory on your server.
  2. Upload ".htaccess" to the directory you wish to protect, and inside this file, verify that the server path to the .htpasswd file above is valid: AuthUserFile /home/yoursite/.htpasswd If you've uploaded the ".htpasswd" file to simply the same directory as your ".htaccess" file (less secure than root directory), then the path would look something like this instead:
    AuthUserFile /home/yoursite/public_html/mydirectory/.htpasswd
And you're done! Be sure that you've uploaded both files in ASCII, and not binary format.


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,
eric.watson is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2009, 02:35 PM   #3
HyperActive Warrior
War Room Member
 
Join Date: Apr 2009
Location: US
Posts: 119
Thanks: 4
Thanked 2 Times in 2 Posts
Default Re: Password protection for NVU page

What does NVU stand for?

Mgwolf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2009, 02:39 PM   #4
Warrior Member
War Room Member
 
ClickMonkey's Avatar
 
Join Date: Nov 2006
Location: London (Canada!)
Posts: 28
Thanks: 0
Thanked 2 Times in 2 Posts
Default Re: Password protection for NVU page

Quote:
Originally Posted by Mgwolf View Post
What does NVU stand for?
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.
ClickMonkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
nvu, page, password, protection

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 07:21 PM.