Forum Moderators: mack

Message Too Old, No Replies

password protection

password protection

         

sbfan2000

1:33 am on Mar 20, 2006 (gmt 0)

10+ Year Member



my host uses Hsphere and I protected a directory which has subdirectories. The root of the protected directory contains a menu with names of classmates which point to the subdirectories. Each S-D contains an individual biography page which uses frames and the main frame point to a php document in the root protected directory. When I go to the menu in the root it prompts for a password which is great, but then when I go a subdirectory it prompts again, which I don't want. What am i missing?

mack

1:21 pm on Mar 20, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



What operating system are you using? Generaly once you are logged into an htaccess protected area you are free to browse the entire area without beng asked to login again.

Mack.

Pegasus05034

5:10 pm on Mar 20, 2006 (gmt 0)

10+ Year Member



Hi. I'm new to web development, but I all of a sudden have 3 sites to maintain. One is already built (I use dreamweaver and a little html) and the other two I just created with Yahoo small business web hosting and the Sitebuilder that comes with it. I'd like to put password protection on a section of the site, but don't know where to start.

I've been searching the web and this is the first thing I've found (I don't use Apache -I use Microsoft. Can you get me started in the right direction for a tutorial on this password protection information?

Thanks

sbfan2000

10:26 pm on Mar 20, 2006 (gmt 0)

10+ Year Member



this is from the hosting companies FAQS.

Our Linux servers are running Red Hat Enterprise Linux. Our Windows servers are running Windows Server 2003

sbfan2000

10:33 pm on Mar 20, 2006 (gmt 0)

10+ Year Member



My computer is running w2k but I tried accessing the pages on IE6 and Firefox, same results

mack

12:09 am on Mar 21, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I'm sure this is not the case but are you sure you have the content folders within the folder you password protected..

I have seen a situation like this before and it turned out that the site owner has set up a secure folder, then another folder also secured using htaccess at the same level. To allow uninterrupted browsing the folder needs to be inside the main folder.

I'm sure you have checked this, but just a suggestion.

Mack.

sbfan2000

12:30 am on Mar 21, 2006 (gmt 0)

10+ Year Member



yea, sure they are under the directory not at the same level. I just got a e-mail from the hosting company stateing that it maybe because I used their protection utility within hshpere and then used frontpage 03 to author the pages. Does that sound legit? Sounds unlikely to me but could be wrong.

mack

12:33 am on Mar 21, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Im wondering it is in some way related to how your control panel sets up the protection. I dont think it can be in any way related to how your pages where edited. The .htaccess woudl come into play before the browser even saw the page.

Do you know how to set up htaccess password protection using a .htpasswd file and .htaccess file then upload them?

Mack.

sbfan2000

2:46 am on Mar 21, 2006 (gmt 0)

10+ Year Member



no never done that! Is it realitivly easy or am I going to be learning a new language? :-)