|
#1
|
|||
|
|||
|
I have a site that has some general information I'm content with sharing but would like to password protect certain pages. How do I go about doing that?
Thanks!
|
|
#2
|
|||
|
|||
|
Update/clarification of question: I went into Cpanel and found the password protect function, but it shows folders and I want to password protect something in a folder, not the entire folder. How do I go about that. I'm new at this, and leave my larger sites to the pros, but would like to be able to manage this one on my own. Any help will be appreciated.
|
|
#3
|
|||
|
|||
|
you need to implement a user login / password script on those files.
__________________
|
|
#4
|
||||
|
||||
|
I think it could be easier, for a newbie, to just move the protected content into a separated directory and simply use cPanel for it.
|
|
#5
|
|||
|
|||
|
Thanks for your reply.
Are there directions somewhere to do that? |
|
#6
|
||||
|
||||
|
To password protect a particular page you would need to use a script to require the password and include it in the page you want to protect. You can do that using PHP pages and a Google search on 'password protect page' will turn up some examples including this one.
As Regentronique said, it would be easiest to put the pages you want to protect in a particular folder and protect it in your cPanel but there are options. I have done similar things for pages on another server using ASP but PHP would be similar. |
|
#7
|
|||
|
|||
|
I thank each of you for your help. I think creating another folder is the best option for me. I'm using Dreamweaver. Do I just creat another folder there with the pages I want to protect and then upload it? Or is there more to it than that?
|
|
#8
|
||||
|
||||
|
Yes, just create the folder and put the files you want to protect in it. Then go into your cPanel and use the folder protect option to create a username and password that others can use to access the files in the folder.
|
|
#9
|
|||
|
|||
|
Yeaa! I'll try it tonight. Thanks!
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "Password Protect Directories" Bug on HTTPS/SSL Pages after PHP5+MySQL5 Upgrades | BiL | Shared Hosting Support | 3 | 06-24-2008 07:41 PM |
| Protecting FTP directories? | SWB | Shared Hosting Support | 5 | 04-14-2008 04:02 PM |
| Password protecting only one page on a site | unclebuck13 | Shared Hosting Support | 4 | 01-16-2008 07:04 PM |
| Password protecting a data base? | Tanstafl | Webhosting | 1 | 03-08-2006 08:15 PM |
All times are GMT -5. The time now is 09:33 PM.









