User logins

M

Matthew

hello, another question is how can I create a login page for my site. I want to password protect my entire site. When someone types my address they should be pronpted for password also every other web page should also be protected but not have to login on every page. I want to have a list of names in a database and use that for my user logins. I dont need something that looks fancy just some friends and myself want a site to share that might be offensive to others:) I would appreciate being pointed in the right direction not real good with script at all but can read articles and follow very well. Or if you just have general suggestions or preferences from experience. Thanks for all your replies. Matthew
 
S

Steve Easton

What kind of server and server OS is the site hosed on??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

Matthew said:
hello, another question is how can I create a login page for my site. I want to password
protect my entire site. When someone types my address they should be pronpted for password
also every other web page should also be protected but not have to login on every page. I
want to have a list of names in a database and use that for my user logins. I dont need
something that looks fancy just some friends and myself want a site to share that might be
offensive to others:) I would appreciate being pointed in the right direction not real
good with script at all but can read articles and follow very well. Or if you just have
general suggestions or preferences from experience. Thanks for all your replies. Matthew
 
M

Matthew

Sorry, I meant to post that. I am on windows server with apache. I can use .asp but I would like to also know if there are other ways without .asp pherhaps .php since not all my sites use windows and I might want to use it on them someday but a like to some .asp would work great for now
 
T

Thomas A. Rowe

Yes, can create a login function using PHP. You will need to search for PHP Login Scripts.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Matthew said:
Sorry, I meant to post that. I am on windows server with apache. I can use .asp but I would like
to also know if there are other ways without .asp pherhaps .php since not all my sites use windows
and I might want to use it on them someday but a like to some .asp would work great for now
 
A

Andrew Murray

are you on linux server or windows server?

on linux/unix you can use .htaccess (note the fullstop leading the 'h').....put
the .htaccess and .htpasswd files in your root (www, htdocs,html directory) with
the list of uers and passwords and they can't get in without the proper
authorisation.

Bare in mind it only occurs once, and you have to close the browser to end the
session there is no "logout" routine as such. It is not the most secure form of
login, but it depends on what you're protecting and how private or public you
want to make it.

On Windows, there are plenty of ASP scripts (or whatever your host uses) around,
you just need to spend time searching.



Matthew said:
hello, another question is how can I create a login page for my site. I want to
password protect my entire site. When someone types my address they should be
pronpted for password also every other web page should also be protected but not
have to login on every page. I want to have a list of names in a database and use
that for my user logins. I dont need something that looks fancy just some friends
and myself want a site to share that might be offensive to others:) I would
appreciate being pointed in the right direction not real good with script at all
but can read articles and follow very well. Or if you just have general
suggestions or preferences from experience. Thanks for all your replies. Matthew
 
Top