Results 1 to 22 of 22

Thread: How do I add a simple password protected area to my site?
      
   

  1. #1
    deebetty is offline Private First Class
    Join Date
    Nov 2007
    Posts
    9

    Default How do I add a simple password protected area to my site?

    My site is for communication with club members and member prospects. Several members have asked to protect their personal info (phone no, email, etc.) Is there a simple way to set up a semi-secure page for this. I would like to give out a generic password to all club members. I don't want anything complicated.

    www.cmlfclub.com

    Thanks for your help.

  2. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: How do I add a simple password protected area to my site?

    Hi, you need to create a folder in c panel & pop any pages that you want behind the pass word into this folder. LINK TO SOME HELP

  3. #3
    deebetty is offline Private First Class
    Join Date
    Nov 2007
    Posts
    9

    Question Re: How do I add a simple password protected area to my site?

    I watched the video on password protection. Is there a way to drill down to just one link to protect? Cpanel shows public_html (current folder), but I can't look at any subfolders. I only want to protect the Members tab. I don't want to require a password for the whole site. I'm just stupid I guess, but I can't figure this out.

    www.cmlfclub.com

    Can you give me any pointers here?
    Thanks

  4. #4
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: How do I add a simple password protected area to my site?

    Hi, go to your cpanel & the public_html area & create a new folder called? address.
    Now follow the video clip on how to password protect the folder.
    You will now publish any pages you want behind the secure area to /public_html/address/
    When you now try and access one of these pages, you will get the password screen pop up asking for the password you have used.
    You can if needed create as many folders as you want with different passwords. Or just publish your BV pages to the one folder with just the one password.

  5. #5
    deebetty is offline Private First Class
    Join Date
    Nov 2007
    Posts
    9

    Question Re: How do I add a simple password protected area to my site?

    Quote Originally Posted by Collectors-info View Post
    Hi, go to your cpanel & the public_html area & create a new folder called? address.
    Now follow the video clip on how to password protect the folder.
    You will now publish any pages you want behind the secure area to /public_html/address/
    When you now try and access one of these pages, you will get the password screen pop up asking for the password you have used.
    You can if needed create as many folders as you want with different passwords. Or just publish your BV pages to the one folder with just the one password.
    Chris,
    I have a folder called membersonly and I have it protected with a password. The lock shows on Cpanel. Problem is, I can't get my members page to publish in this folder. It keeps going directly under my public_html folder. I feel like an idiot, please help.

    www.cmlfclub.com

  6. #6
    Richard Harvey is offline Sergeant
    Join Date
    Jan 2008
    Posts
    23

    Default Re: How do I add a simple password protected area to my site?

    I don't seem to be able to password protect a folder in an add-on domain. When I go to File Manager I only seem to be able to access my main domain and haven't been able to find a way to pull up the add-on domain main folder.
    Can any-one help, please?!!

  7. #7
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How do I add a simple password protected area to my site?

    Why? usually there is a (+) sign, beside the "public_html" you need to click that to expand the public_html, so that your addon domain folder becomes visible.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  8. #8
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: How do I add a simple password protected area to my site?

    Quote Originally Posted by deebetty View Post
    Chris,
    I have a folder called membersonly and I have it protected with a password. The lock shows on Cpanel. Problem is, I can't get my members page to publish in this folder. It keeps going directly under my public_html folder. I feel like an idiot, please help.

    www.cmlfclub.com
    Hi, i missed this post, sorry!
    Have you tried publishing to /public_html/membersonly/ even a simple page called ???? test. The link would then be like bellow, & entered via a password screen. www.cmlfclub.com/membersonly/test.html


  9. #9
    Richard Harvey is offline Sergeant
    Join Date
    Jan 2008
    Posts
    23

    Default Re: How do I add a simple password protected area to my site?

    Hi
    Thanks for the reply. I have now added and password protected a directory to my added domain to create
    http://www.newtonaycliffeac.org.uk/minutes
    However when I tried to publish a file, also called minutes, by choosing newtonaycliffeac/minutes
    I got a 'failed' message saying there was no directory called minutes -athough it is clearly shown in File Manager.
    I am obviously doing something wrong but can't think what!
    Thanks,
    Richard
    (whiterabbitdesigns.co.uk)

  10. #10
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How do I add a simple password protected area to my site?

    I di find a protected folder in your site, but it is called "members" , not "minutes"
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  11. #11
    Richard Harvey is offline Sergeant
    Join Date
    Jan 2008
    Posts
    23

    Default Re: How do I add a simple password protected area to my site?

    I don't understand it - File Manager definitely shows newtonaycliifeac/minutes as a file and Pasword Protect shows it as protected!

  12. #12
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: How do I add a simple password protected area to my site?

    A simple solution to just password protect 1 single file... password protect the entire directory of the directory that contains the file...

    In that directory, open up the file called ".htaccess"

    It should have code that looks like
    Code:
    AuthType basic
    AuthName "This directory is protected"
    AuthUserFile /home/path/.htpasswd <- this will be different for you
    AuthGroupFile /dev/null
    Require valid-user
    It needs to look like this
    Code:
     <Files secure.php>
    AuthType Basic
    AuthName "Prompt"
    AuthUserFile /home/path/.htpasswd 
    Require valid-user
    </Files>
    Change the blue code to the exact name of the file

    Move the code in green from your original code in the .htaccess file to the code I gave you for the single file

    I hope that made sense

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  13. #13
    Richard Harvey is offline Sergeant
    Join Date
    Jan 2008
    Posts
    23

    Default Re: How do I add a simple password protected area to my site?

    I have started again from scratch. I have deleted the 'minutes' folder and protected the 'members' folder again. I have saved my 'minutes' file to the folder and it shows in File Manager as being there. The folder 'members' has a padlock next to it in the passwordprotect area, and I have named the resource to be protected as 'members' too. But still no protection on the site - link goes straight through! Don't know what else to do - can anyone help, please. Will need to add other files later.
    Thanks,
    Richard

  14. #14
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How do I add a simple password protected area to my site?

    your "members" folder IS protected, it asks for a username/password.

    The reason it didn't ask YOU is probably because you were already logged in.

    Close ALL your browser windows, completely, and then open it again, and try to go the "members" folder. You will see that you are asked for username/password.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  15. #15
    Richard Harvey is offline Sergeant
    Join Date
    Jan 2008
    Posts
    23

    Default Re: How do I add a simple password protected area to my site?

    Hi Naval Design
    I'm sorry to keep bothering you with this but I STILL can't get a password screen up to prevent open access to my 'minutes' file.
    I did as you suggested and closed everything down - no good
    I checked File Manager to make sure 'minutes' IS in the 'members' directory - Yes
    I checked Password Control to make sure the directory IS still locked - Yes
    I then decided to follow your instructions for password protecting a single page - STILL no good.
    I must be really stupid but I DO need to protect this page.
    Would you mind having another look at it please and see if you can spot an error somewhere
    Many thanks,
    Richard

  16. #16
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How do I add a simple password protected area to my site?

    Shut down your browser. Open it again, and click on this link:

    http://www.newtonaycliffeac.org.uk/members/minutes.html

    You will see it is asking for username/password.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  17. #17
    Richard Harvey is offline Sergeant
    Join Date
    Jan 2008
    Posts
    23

    Default Re: How do I add a simple password protected area to my site?

    Thank you for your patience!
    I realise I hadn't got 'members' included in my link.
    Many thanks,
    Richard

  18. #18
    Richard Harvey is offline Sergeant
    Join Date
    Jan 2008
    Posts
    23

    Default Re: How do I add a simple password protected area to my site?

    Hi again!
    I seem to be having a strange problem with setting the password itself now.
    I have been into Control Panel and set up a user 'aycliffe' and a password 'acorn123'. (i.e. between 6 and 8 characters)
    When I try to enter the directory through my 'members only' navigation button, the password request panel comes up but when I type the user name and the password I just get the panel back again. I've tried repeating this, as I read a contributor to another forum once did, but still just get the panel. If, however I just enter the user name and click OK (i.e. ignore the password box) I get through!
    I could live with this but would rather have a password as well as a user name for privacy.
    Any thoughts, please?
    Thanks,
    Richards

  19. #19
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How do I add a simple password protected area to my site?

    Recreate the username and password for this folder and test again.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  20. #20
    Richard Harvey is offline Sergeant
    Join Date
    Jan 2008
    Posts
    23

    Default Re: How do I add a simple password protected area to my site?

    HiI removed the user and entered them again. Got a message 'user aycliffe has the password acorn123'. Went into the site from scratch but same thing happened - works without password but not with!
    Richard

  21. #21
    Richard Harvey is offline Sergeant
    Join Date
    Jan 2008
    Posts
    23

    Default Re: How do I add a simple password protected area to my site?

    I keep trying but still the same result.
    Does any-one have any ideas, please?!

  22. #22
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How do I add a simple password protected area to my site?

    Please submit a support ticket. No one else can help you without entering your account, so it will be better if the help desk takes care of this issue
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49