Results 1 to 9 of 9

Thread: Help with password protection
      
   

  1. #1
    THF
    THF is offline Private
    Join Date
    Oct 2006
    Location
    NC
    Posts
    3

    Default Help with password protection

    Hi,
    My name is Tom and I’m very new to all this. I’m building a site for our club. Only 2 pages will be viewable to the public, the other pages and files will only be accessible through a password. With the exception of the log-in form (Name, Password, Submit) the public side appears to be working ok (Brinkleyville.com).
    I created (using file manager in cpanel) another directory “member”. I then used cpanel to password protect that directory (member). I then created one username and password for myself.
    I then published the “home” page for the private side of the site. When the Publish Web Page window opened, beside ‘Folder:’ I changed (public_html/) to (public_html/member/home). ‘home’ being the name of the page I was trying to publish.
    Question 1 Did I do this correct? I can see ‘home’ when I go into file manager.
    As stated earlier, I have a simple form in the index page. The password entry is tagged as password in the edit box properties.
    Question 2 Must I set up anything in mail to make the form work? If so what specifically, preferably child-like?
    Question 3 When I attempt to log in with the username and password I assigned myself I get an error page HTTP 405. Any thoughts on why?
    I’ll gladly share any additional information to anyone willing to help.
    Thanks THF Client ID# 10770

  2. #2
    Stroke.nz's Avatar
    Stroke.nz is offline The Man
    Join Date
    May 2005
    Location
    New Zealand
    Posts
    188

    Thumbs up Re: Help with password protection

    Hey Tom


    Have another look at the demo to protect your pages.

    http://www.vodahost.com/DemoDemo/cpa...pdirectory.htm

    Check my painting decorators site out it'll give you some sort of idea you may want to try, it is fairly easy to do just a little bit of time needed to get things right.

    www.mtd.net.nz

    goto the members Login

    Login 'painter'

    Password 'decorator'

    The site only took me an afternoon to do so it's quite smiple.

    If you need a hand email me I'll be happy to help

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

    Default Re: Help with password protection

    I then published the “home” page for the private side of the site. When the Publish Web Page window opened, beside ‘Folder:’ I changed (public_html/) to (public_html/member/home). ‘home’ being the name of the page I was trying to publish.
    Question 1 Did I do this correct?

    No. in the publish dialog box, in the field "Folder", you simply type in "public_html/member"

    I can see ‘home’ when I go into file manager.

    That's ok, but the link from the public index page to the protected pages, must become http://www.brinkleyville.com/members/home.html


    As stated earlier, I have a simple form in the index page. The password entry is tagged as password in the edit box properties.


    Question 2 Must I set up anything in mail to make the form work? If so what specifically, preferably child-like?

    You need to watch the BlueVoda Form Tutorial 1 tutorial. If you already have an email account, you don't need a new one. On the other hand it's your choice.

    Question 3 When I attempt to log in with the username and password I assigned myself I get an error page HTTP 405. Any thoughts on why?

    Male sure that your username and password are correct. If necessary, reestablish them.

    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!


  4. #4
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,610

    Wink Re: Help with password protection

    Take a look at this thread, which discusses protecting only a few pages of a site as well as a forum in a second site of the same account (this should spell out clearly all the variables so you can finally understand it): http://www.vodahost.com/vodatalk/blu...light=password

    Beat me to it, General! Oh well....hope it doesn't seem like overkill!
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  5. #5
    THF
    THF is offline Private
    Join Date
    Oct 2006
    Location
    NC
    Posts
    3

    Default Re: Help with password protection

    Thank you all; Vasili, navaldesign and Stroke.nz

    Was able to utilize the password I had set up.
    I can now get from the public side of the site to the private side.
    Question;
    If I have a dozen pages to put in the password protected directory; when I go through the login screen, what determines the page I'll go to first. I do have a starting (home) page I want everyone to go to first. Is it the order they are published? Its probably very obvious I'm just feeling my way through. Thanks again...Tom

  6. #6
    THF
    THF is offline Private
    Join Date
    Oct 2006
    Location
    NC
    Posts
    3

    Default Re: Help with password protection

    Thank you all; Vasili, navaldesign and Stroke.nz

    Was able to utilize the password I had set up.
    I can now get from the public side of the site to the private side.
    Question;
    If I have a dozen pages to put in the password protected directory; when I go through the login screen, what determines the page I'll go to first. I do have a starting (home) page I want everyone to go to first. Is it the order they are published? Its probably very obvious I'm just feeling my way through. Thanks again...Tom

  7. #7
    Robert's Avatar
    Robert is offline First Lieutenant
    Join Date
    May 2005
    Location
    Dallas, TX USA
    Posts
    296

    Default Re: Help with password protection

    Quote Originally Posted by THF
    ...
    Question;
    If I have a dozen pages to put in the password protected directory; when I go through the login screen, what determines the page I'll go to first. I do have a starting (home) page I want everyone to go to first. Is it the order they are published? Its probably very obvious I'm just feeling my way through. Thanks again...Tom
    This has been confusing for me for a while now simply due to th way I was trying to understand how it works. Light bulb!! Here's what I know so far:

    1. Navigating to a password protected file or page e.g. "http:/www.yourdomain.com/members/home.html"

    --Clicking on a link set to this url or typing it in the browser's address bar will start navigating to that exact url and STOPS to prompt for the member's "username" and "password". After submitted, navigation CONTINUES to its destination...(*/members/home.html)
    Now, here's where it get's strange for me also:

    2. Navigating a password protected directory.
    "http://www.yourdomain.com/members/"

    --If you were to type this into your browser's address bar to call that directory, you will be prompted for your member "username" and "password" FIRST to gain access to it.
    *When calls for for urls to directories are made without referrencing a specific page, the browser first searches for the directory's (index.html) file. When it doesn't find one, it will display and error page e.g. (401.shtml,404.shtml,etc.)

    As far as the other pages...how you link them together will determine the order in which they appear to your members.

    Now that I figured this out, I had to ask myself a few more questions and look for more info. There's something in cPanel I need to read more about concerning the Index Manager and what it does. I think it can give me a better idea of which directories and files as to protect, how to link to them, and how I will need to organize them for proper flow of access.

    I hope this helps a bit. I'll post back when I figure out my strategy for this.
    Robert
    www.GraphXntrix.com
    Your Visual Revolution Solution

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

    Default Re: Help with password protection

    Quote Originally Posted by THF
    Thank you all; Vasili, navaldesign and Stroke.nz

    Was able to utilize the password I had set up.
    I can now get from the public side of the site to the private side.
    Question;
    If I have a dozen pages to put in the password protected directory; when I go through the login screen, what determines the page I'll go to first. I do have a starting (home) page I want everyone to go to first. Is it the order they are published? Its probably very obvious I'm just feeling my way through. Thanks again...Tom
    It would be enough to define the first page as "index" not as "home". Create a folder also on your computer, inside your BV folder, call it "members" and save the protected pages in there. So there will be no conflict with the "index" page of your public site.

    The link will simply be http://www.brinkleyville.com/members and it will land in this "index" page. The rest of the links should be as normal: http://www.brinkleyville.com/members/pagename.html
    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!


  9. #9
    Stroke.nz's Avatar
    Stroke.nz is offline The Man
    Join Date
    May 2005
    Location
    New Zealand
    Posts
    188

    Default Re: Help with password protection

    For my page protected directory, to link back to all the other pages I had to use the full page addres i.e. wwww.mydomain/index.php to use index or any other php file name would submit a 404 error.

    Hope this helps you out a bit more.

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