Solved

Password Protecting a webpage

Posted on 1998-12-10
4
231 Views
Last Modified: 2013-12-16
Hi,
  I am creating a webpage for a soccer league and I want to password protect the page with rosters/player names. What would be the easiest way to do this? Do I need a CGI script. The actual script would be very appreciated!! :) thanks.

wes
0
Comment
Question by:richtwes
  • 2
4 Comments
 
LVL 28

Expert Comment

by:sybe
ID: 1840445
The easiest way is to do that at the level of the filesystem of the  computer on which the website is runnung. No need for CGI. on Unix-based systems, you should use the .htaccess file for that (don't ask me more about that). On NT systems, you can set security in the windows explorer.

If you want to use CGI-scripts and store the username/passwords in a database, that is also possible. Then it very much depends on what CGI-language you want to use. If you are on NT, use ASP (it's the easiest), if on Unix, perl is probably the best.

0
 
LVL 1

Accepted Solution

by:
slobstar earned 70 total points
ID: 1840446
Here's an exellent easy tutorial on how to...
http://www.htmlgoodies.com/tutors/pw.html
0
 

Author Comment

by:richtwes
ID: 1840447
Can I do this just using HTML. What are the codes that I would need to use?

wes
0
 

Author Comment

by:richtwes
ID: 1840448
Thanks..I got alot of helpful tips..sorry for responding so late...

wes
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now