Jump to content


Photo

Password Protect A Page?


  • Please log in to reply
10 replies to this topic

#1 nhlee

nhlee

    Family Friend

  • Members
  • PipPip
  • 53 posts

Posted 07 October 2006 - 05:01 AM

Hi everyone,
It has been a long time since I posted, been doing ok with all my sites but now I have a dilemma that I can't seem to figure out.
I am using CuteSite Builder 4. I have a site which will promote membership. I need to know how I can add a page that will only be accessible via a password?? I have searched and searched but am getting numb brain from all the searching, can anyone help?
Thanks,
Lee

#2 Samrc

Samrc

    Immediate Family

  • Members
  • PipPipPipPip
  • 1,336 posts

Posted 07 October 2006 - 07:26 AM

Depends how secure you want that page to be. CSB4 does not have code that allows the protection of just one page. (CSB5 did but is no longer avaiable). If you host here with TCH, there are is a quick way to protect.

The easiest way to so this is to create a second tlx design file and publish it as a subdirectory of you main website. In your website cPanel there is a SIMPLE, EASY and SECURE way to protect that subdirectory. If you have only one or many pages in that subdirectory, it won't matter. Any page in that subdirectory would require a password to enter. Once you enter the password, you can wander through the directory freely. You don't have to unlock each page!

HOW TO DO IT:
- In CSB:
The publishing settings are the same as the main design file (same user name, password, address, etc). Then you add ONE more item. When you add a subdirectory, just check the box to publish to a subdirectory, and name the subdirectory. Publish. The name of the subdirectory will appear in your URL. For example, if you call the subdirectory members, the address would look like this: http://www.yourdowmain.com/members/ Please look at this page about making subdirectories and see the print screen of the publishing settings for reference.

In cPANEL:
Once you have published the the subdirectory, you can now set it for private viewing. Open your cPANEL Look for the feature that says "Web Protect" or "Password protect directories" (might be on your second row of cPanel icons) and click it. You will then see a list of folders on your site. Find the one you want to protect. Click it. You will get a page with options. The box at the top (Folder requires password) needs to be checked. Save it. Below you would add your user name & password combinations.
Samantha
SamiSite.com CSB and WYSIWYG program tutorials
Feel free to right click the silly little forum images I use and save them to your own website space.
Then link to your own site. Please don't hotlink to my website to use the images. Thanks!

#3 knate5000

knate5000

    Distant Family

  • Members
  • PipPipPip
  • 152 posts

Posted 07 October 2006 - 08:30 AM

The above method is quick and easy. It has a popup window where you type in your username and password.

For a username and password 'page' that would match your site you can do a search for 'php password protection' and you will get lots of sites that have the code so you can intigrate it into your site. How secure are they? I dunno.

Personally I don't mind the popup window version. You know it's secure and don't have to worry about code!
This is the strangest life I have ever known.

#4 nhlee

nhlee

    Family Friend

  • Members
  • PipPip
  • 53 posts

Posted 07 October 2006 - 08:39 AM

Thank you for your help! I will try both ways to see which works best.
As always, this site is the best! :sweatdrop:
Lee

#5 nhlee

nhlee

    Family Friend

  • Members
  • PipPip
  • 53 posts

Posted 08 October 2006 - 05:17 AM

Well, I got my sub-directory and the password protect works great :(
New Problem: Now I can't find the sub-directory on CSB4 in order to make changes to the pages in the sub-directory :(
I found the sub on the c-panel but can't make changes there unless I do it all via html :huh:
Isn't there any way that I can get back to these pages via CSB program?
Lee

#6 nhlee

nhlee

    Family Friend

  • Members
  • PipPip
  • 53 posts

Posted 08 October 2006 - 06:05 AM

I found it! It was hidden amongst some strange stuff! I apparently didn't save it correctly but all is well now.
Thanks,
Lee

#7 TCH-Bruce

TCH-Bruce

    Volunteer Moderator

  • Members
  • PipPipPipPip
  • 19,960 posts

Posted 08 October 2006 - 07:02 AM

Glad you figured it out. :huh:

Bruce Richards
Forum Moderator
TotalChoice Hosting, Inc.
Webhosting by Total Choice Web Hosting - General Support Forum

I am a Forum Moderator. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.


#8 sheryltoo

sheryltoo

    Distant Family

  • Members
  • PipPipPip
  • 139 posts

Posted 25 September 2011 - 02:02 PM

I know this is an old post but it's talking about what I want to try and set up on my site and before I try following the instructions, I wanted to be sure these instructions are still right.

Just to clariy what I want to accomplish. I have a public web site and want to create a members only page with multiple pages so should I follow the already given instructions?

#9 TCH-Thomas

TCH-Thomas

    Volunteer Moderator

  • Members
  • PipPipPipPip
  • 14,907 posts

Posted 25 September 2011 - 02:31 PM

This should still be correct.

Thomas Jikrantz
Forum Moderator
TotalChoice Hosting, Inc.

Any links or suggestions for third party software/sites should be used at your own risk. My opinions and recommendations are not necessary those of TCH and TCH is not responsible.

As a Forum Moderator I can assist in answering many of your hosting related questions. However, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.
Web Hosting by Total Choice Web Hosting - 24/7 Help Desk


#10 sheryltoo

sheryltoo

    Distant Family

  • Members
  • PipPipPip
  • 139 posts

Posted 25 September 2011 - 03:30 PM

Alright thanks. Now I'll have to see if I understand it and can figure it all out.

#11 sheryltoo

sheryltoo

    Distant Family

  • Members
  • PipPipPip
  • 139 posts

Posted 26 September 2011 - 08:46 AM

It turns out these instructions won't work for me. I had no idea what CSB or Trellix was and just figured it was part of my cpanel but now I see CSB is a software that builds websites and it looks as if I'm not even in the right forum for getting help.
My search for a password protect page brought me here and I never even noticed what forum I was in.
Sorry about that.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users