Adding a Username and Password Index Page to my Website

B

Bart

Is there an easy way to add a username and password page to my existing
website utilyzing Frontpage 2003 so that no one can enter my website without
the proper username and password? Please help with a step by step
description, this is my first time here.
 
A

Andrew Murray

For a novice it is not an "easy" solution to do this. Requires some
knowledge of whatever server side scripting language your host supports. I
have suggested two solutions (whether they work for you is for you to
determine).

1) Password Protection using an Access database and ASP in Frontpage 2003
(requires a Windows server)
http://support.microsoft.com/default.aspx?scid=kb;en-us;825498 . The
process is outlined in relatively easy to understand steps. Feel free to
post back if you have problems getting this to work *after* following the
instructions listed.

2) Your hosting account might come with a feature such as "protected
folders" accessed through your control panel on your hosting account.

2a) On Linux/Unix this is done through using files called ".htaccess" and
".htpasswd" The protected folders feature on your control panel would
automate the process, all you do is create the user accounts and specify the
folder to be protected (this would seem to be the easiest method rather than
the first suggestion) But again, ask your host if they offer such a thing.

2b) I believe a Windows server could offer the same thing (protected
files/folders) done through your hosts control panel (for your hosting
account)


Again ask your host for more specific information.

Does your host run either Cpanel (http://www.cpanel.com/) on Unix/Linux or
HELM (http://www.webhostautomation.com/) on Windows (or any other similar
web-based hosting control panel systems?

The "protected folders" is offered by both these systems (but it depends on
which features your host has enabled I think).


Anyway I hope this gets you started.
 
A

Alittleconfused

Hi there, I have a problem as well:
(1)I tried using the outlined steps to creating a password-protected web
page from the link you posted, and it wasnt successfull. The logon.asp page
would never come up, all I got was an error page. I tried creating the pages
in a few different locations to see if it would help (including in a new
website, a subweb, and in the root web, but nothing was successfull) -dont
know what went wrong-
(2)As well, I tried using another approach; setting up a restricted-access
Web (from
http://support.microsoft.com/?scid=kb;en-us;825451&spid=2514&sid=300) and
that's where I get a snag. I'm supposed to be able to go to
Tools|Server|Permissions, to configure unique permissions for the subsite,
but "Server" is dimmed and I cant click on it.
Does anyone have an idea why that might be and what I could do to fix it? It
seems like this approach would be the easier of the two... but so far nothing
seems to be all that "easy," so I guess I'm being too optimistic. haha.
Anything would help, thanks!
 
A

Alittleconfused

As an amendment to my first issue: I've successfully published a subsite
named "secure" which contains all the logon, passwordprotect, and what-not
pages.
www.thomsonequipment.com/secure/ But the passwordprotect page doesnt
come up.
Just a thought, what links to the logon.asp page? I read the code, and
nothing seems to ever make mention to it. That seems like an important page,
I wouldnt want to be missing something.
 
S

Stefan B Rusynko

On http://www.thomsonequipment.com/secure/passwordprotect.asp
you are getting an include page error:
The include file '/mywebsites/secure/_private/logon.inc' was not found.

That's because you are working in a subweb and your host need to turn on parent pathing for virtual includes to work

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| As an amendment to my first issue: I've successfully published a subsite
| named "secure" which contains all the logon, passwordprotect, and what-not
| pages.
| www.thomsonequipment.com/secure/ But the passwordprotect page doesnt
| come up.
| Just a thought, what links to the logon.asp page? I read the code, and
| nothing seems to ever make mention to it. That seems like an important page,
| I wouldnt want to be missing something.
|
|
|
|
| "Alittleconfused" wrote:
|
| > Hi there, I have a problem as well:
| > (1)I tried using the outlined steps to creating a password-protected web
| > page from the link you posted, and it wasnt successfull. The logon.asp page
| > would never come up, all I got was an error page. I tried creating the pages
| > in a few different locations to see if it would help (including in a new
| > website, a subweb, and in the root web, but nothing was successfull) -dont
| > know what went wrong-
| > (2)As well, I tried using another approach; setting up a restricted-access
| > Web (from
| > http://support.microsoft.com/?scid=kb;en-us;825451&spid=2514&sid=300) and
| > that's where I get a snag. I'm supposed to be able to go to
| > Tools|Server|Permissions, to configure unique permissions for the subsite,
| > but "Server" is dimmed and I cant click on it.
| > Does anyone have an idea why that might be and what I could do to fix it? It
| > seems like this approach would be the easier of the two... but so far nothing
| > seems to be all that "easy," so I guess I'm being too optimistic. haha.
| > Anything would help, thanks!
| >
| > "Andrew Murray" wrote:
| >
| > > For a novice it is not an "easy" solution to do this. Requires some
| > > knowledge of whatever server side scripting language your host supports. I
| > > have suggested two solutions (whether they work for you is for you to
| > > determine).
| > >
| > > 1) Password Protection using an Access database and ASP in Frontpage 2003
| > > (requires a Windows server)
| > > http://support.microsoft.com/default.aspx?scid=kb;en-us;825498 . The
| > > process is outlined in relatively easy to understand steps. Feel free to
| > > post back if you have problems getting this to work *after* following the
| > > instructions listed.
| > >
| > > 2) Your hosting account might come with a feature such as "protected
| > > folders" accessed through your control panel on your hosting account.
| > >
| > > 2a) On Linux/Unix this is done through using files called ".htaccess" and
| > > ".htpasswd" The protected folders feature on your control panel would
| > > automate the process, all you do is create the user accounts and specify the
| > > folder to be protected (this would seem to be the easiest method rather than
| > > the first suggestion) But again, ask your host if they offer such a thing.
| > >
| > > 2b) I believe a Windows server could offer the same thing (protected
| > > files/folders) done through your hosts control panel (for your hosting
| > > account)
| > >
| > >
| > > Again ask your host for more specific information.
| > >
| > > Does your host run either Cpanel (http://www.cpanel.com/) on Unix/Linux or
| > > HELM (http://www.webhostautomation.com/) on Windows (or any other similar
| > > web-based hosting control panel systems?
| > >
| > > The "protected folders" is offered by both these systems (but it depends on
| > > which features your host has enabled I think).
| > >
| > >
| > > Anyway I hope this gets you started.
| > >
| > >
| > > | > > > Is there an easy way to add a username and password page to my existing
| > > > website utilyzing Frontpage 2003 so that no one can enter my website
| > > > without
| > > > the proper username and password? Please help with a step by step
| > > > description, this is my first time here.
| > > > --
| > > > Bart
| > >
| > >
| > >
 
A

Alittleconfused

Thanks Stefan. I'm sure that's a common and annoying issue, but I really
appreciate the help! ~Hope that solves all my problems :O)

Stefan B Rusynko said:
On http://www.thomsonequipment.com/secure/passwordprotect.asp
you are getting an include page error:
The include file '/mywebsites/secure/_private/logon.inc' was not found.

That's because you are working in a subweb and your host need to turn on parent pathing for virtual includes to work

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| As an amendment to my first issue: I've successfully published a subsite
| named "secure" which contains all the logon, passwordprotect, and what-not
| pages.
| www.thomsonequipment.com/secure/ But the passwordprotect page doesnt
| come up.
| Just a thought, what links to the logon.asp page? I read the code, and
| nothing seems to ever make mention to it. That seems like an important page,
| I wouldnt want to be missing something.
|
|
|
|
| "Alittleconfused" wrote:
|
| > Hi there, I have a problem as well:
| > (1)I tried using the outlined steps to creating a password-protected web
| > page from the link you posted, and it wasnt successfull. The logon.asp page
| > would never come up, all I got was an error page. I tried creating the pages
| > in a few different locations to see if it would help (including in a new
| > website, a subweb, and in the root web, but nothing was successfull) -dont
| > know what went wrong-
| > (2)As well, I tried using another approach; setting up a restricted-access
| > Web (from
| > http://support.microsoft.com/?scid=kb;en-us;825451&spid=2514&sid=300) and
| > that's where I get a snag. I'm supposed to be able to go to
| > Tools|Server|Permissions, to configure unique permissions for the subsite,
| > but "Server" is dimmed and I cant click on it.
| > Does anyone have an idea why that might be and what I could do to fix it? It
| > seems like this approach would be the easier of the two... but so far nothing
| > seems to be all that "easy," so I guess I'm being too optimistic. haha.
| > Anything would help, thanks!
| >
| > "Andrew Murray" wrote:
| >
| > > For a novice it is not an "easy" solution to do this. Requires some
| > > knowledge of whatever server side scripting language your host supports. I
| > > have suggested two solutions (whether they work for you is for you to
| > > determine).
| > >
| > > 1) Password Protection using an Access database and ASP in Frontpage 2003
| > > (requires a Windows server)
| > > http://support.microsoft.com/default.aspx?scid=kb;en-us;825498 . The
| > > process is outlined in relatively easy to understand steps. Feel free to
| > > post back if you have problems getting this to work *after* following the
| > > instructions listed.
| > >
| > > 2) Your hosting account might come with a feature such as "protected
| > > folders" accessed through your control panel on your hosting account.
| > >
| > > 2a) On Linux/Unix this is done through using files called ".htaccess" and
| > > ".htpasswd" The protected folders feature on your control panel would
| > > automate the process, all you do is create the user accounts and specify the
| > > folder to be protected (this would seem to be the easiest method rather than
| > > the first suggestion) But again, ask your host if they offer such a thing.
| > >
| > > 2b) I believe a Windows server could offer the same thing (protected
| > > files/folders) done through your hosts control panel (for your hosting
| > > account)
| > >
| > >
| > > Again ask your host for more specific information.
| > >
| > > Does your host run either Cpanel (http://www.cpanel.com/) on Unix/Linux or
| > > HELM (http://www.webhostautomation.com/) on Windows (or any other similar
| > > web-based hosting control panel systems?
| > >
| > > The "protected folders" is offered by both these systems (but it depends on
| > > which features your host has enabled I think).
| > >
| > >
| > > Anyway I hope this gets you started.
| > >
| > >
| > > | > > > Is there an easy way to add a username and password page to my existing
| > > > website utilyzing Frontpage 2003 so that no one can enter my website
| > > > without
| > > > the proper username and password? Please help with a step by step
| > > > description, this is my first time here.
| > > > --
| > > > Bart
| > >
| > >
| > >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top