cancel
Showing results for 
Search instead for 
Did you mean: 

Password protected web pages

ESL
Grafter
Posts: 70
Registered: 05-08-2007

Password protected web pages

Can anyone assist?

I need to create one or two pages on my PlusNet FP webspace that can only be accessed by entering a password.

I have had a look at one or two suggestions, but just can't seem to make it work. :?

I use FP2000 to create and upload and I am not a programming wizard.

regards
George
10 REPLIES
N/A

Password protected web pages

have a look at the htaccess section of the "tutorials" section of this forum. That is the easiest way of doing what you want.
Remember the FULL path has to be in your htaccess file.

https://portal.plus.net/central/forums/viewtopic.php?t=10193
N/A

Password protected web pages

As far as I know, you can't password protect any pages on the FrontPage server.

This is a limitation of Frontpage rather than the server,
N/A

Password protected web pages

Whoops, sorry, didn't read "FP server" - not currently possible.
Community Veteran
Posts: 14,469
Registered: 30-07-2007

Password protected web pages

You can't with .htaccess. It only allows you to protect directories/folders, not individial files/web pages.

FP does have access restrictions so you may need to read up on how it does it in more detail. A search of the Microsoft Knowledge Base found several articles:

HOW TO: Apply Password Protection to Part of a Web Using FrontPage 2000

HOW TO: Create a Registration Web in FrontPage 2000

FP2000: What Is a Registration Web?

Cheers

Peter Cool
ESL
Grafter
Posts: 70
Registered: 05-08-2007

Password protected web pages

Thanks for the replies, I'll certainly have a look around.

I would have thought that there was a relatively straightforward way to do this, as it seems to be done all over the WWW.

regards
george.
N/A

Password protected web pages

If I remember correctly, the FrontPage terminology for this is to create a "sub-web" to contain the protected files.

Outside of FrontPage, anything you want to password protect has to go in a separate folder.

The principle in either case is you add passwords to a folder (or sub-web), not to individual files.
ESL
Grafter
Posts: 70
Registered: 05-08-2007

Password protected web pages

Hi again guys

Got the .htaccess method working. Smiley
Below is a copy of my .htaccess file for my test site: I know it works from the point of view of protecting the directory, but is the syntax on the other bits OK?

Also, can anything else be usefully added to the .htaccess file I would be interested in learning a little more.

Here is the file:

<Files .htaccess>

order allow,deny
deny from all
</Files>

IndexIgnore *

AuthUserFile /share/isp/plusnet/www/** user-dir **/.htpasswd
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic

<Limit GET>
require user apersonsname
</Limit>
N/A

Password protected web pages

Are you using this on the FP webserver as you originaly asked for?

We are informed this would not work on that server and the file you have posted looks as if you have placed it on the main homepages server and not the FP server.

Can you just clarify.
ESL
Grafter
Posts: 70
Registered: 05-08-2007

Password protected web pages

Hi,

Sorry for any confusion. I got the impression that the .htaccess method would not work on the FP server, so I put this on the normal webspace instead.

What I intend doing (unless anyone can think of a better method) is create my webspace on the FP Server, and just put the protected stuff on the normal web server.
N/A

Password protected web pages

In whihc case, that is the correct method.