WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2003, 06:14 AM
WebProWorld Member
 

Join Date: Oct 2003
Location: Woodbine Georgia
Posts: 49
gene02 RepRank 0
Default need help

I'm building a web site I want to setup user ID and Password I dont know how to do this. Is this a data base function that is setup by php or mysql and how do I start it? help please thanks
__________________
Thanks For Your Time
Gene Crain
http://www.kat28.com
http://www.6thsigmahosting.com
http://www.justwebsitedesign.com
Reply With Quote
  #2 (permalink)  
Old 10-18-2003, 09:47 AM
Narasinha's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Urbana, Illinois, US
Posts: 306
Narasinha RepRank 1
Default Password Protection on Web Sites

There are several ways that you can make part of a web site accessible only to those who have a valid username and password. One of the easiest and most flexible methods is to use an .htaccess file. If your web server software is Apache (or similar flavor), these files can be used for a variety of purposes like custom 404 error pages, URL redirection, directory indexes, password protection, etc.

http://resma.net/tutorials/htaccess.php has a nice tutorial on setting up a password protected directory. You create the .htaccess file which contains instructions to the server about that directory. You create an .htpasswd file which contains the usernames and passwords. There is an online tool that you use to create the encrypted passwords for that file. If you simply put in plain text for the passwords, then you're going to have problems.

Hope this helps.
Reply With Quote
  #3 (permalink)  
Old 10-18-2003, 02:10 PM
redcircle's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Grand Rapids, MI USA
Posts: 553
redcircle RepRank 0
Default

If you want to integrate the logon screen into the design like this forum you would have to use some server-side scripting language. .htaccess only allows for the ugly popup login window.
Reply With Quote
  #4 (permalink)  
Old 10-18-2003, 02:57 PM
WebProWorld Member
 

Join Date: Oct 2003
Location: Woodbine Georgia
Posts: 49
gene02 RepRank 0
Default Thanks for the reply

Looks like this SSL is the way I would like to go any advice on where to get started from? Need very basic info to get a grasp on the project I wish to start.
__________________
Thanks For Your Time
Gene Crain
http://www.kat28.com
http://www.6thsigmahosting.com
http://www.justwebsitedesign.com
Reply With Quote
  #5 (permalink)  
Old 10-20-2003, 01:01 AM
redcircle's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Grand Rapids, MI USA
Posts: 553
redcircle RepRank 0
Default

You need to get a certificate from a 3rd party like verisign or thawte.. there are also cheaper ones that may handle what you need to do..

Basically the only thing SSL will do is make sure the connection is secure you will still need to impliment the login/password problem.
Reply With Quote
  #6 (permalink)  
Old 10-20-2003, 12:19 PM
minstrel's Avatar
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: Ottawa, Canada
Posts: 3,620
minstrel RepRank 0
Default Re: Password Protection on Web Sites

Quote:
Originally Posted by narasinha
There are several ways that you can make part of a web site accessible only to those who have a valid username and password. One of the easiest and most flexible methods is to use an .htaccess file. If your web server software is Apache (or similar flavor), these files can be used for a variety of purposes like custom 404 error pages, URL redirection, directory indexes, password protection, etc.
However, as far as I know, the .htaccess file will not work on an NT server...
Reply With Quote
  #7 (permalink)  
Old 10-24-2003, 03:01 PM
WebProWorld Member
 

Join Date: Oct 2003
Location: Woodbine Georgia
Posts: 49
gene02 RepRank 0
Default thanks for the info

thanks for the input and leads on how to get started
__________________
Thanks For Your Time
Gene Crain
http://www.kat28.com
http://www.6thsigmahosting.com
http://www.justwebsitedesign.com
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0