Solved

Password Protecting a webpage

Posted on 1998-12-10
4
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

691 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