Password Protection

Create real password protection with Perl.

provided by: 
Originally published at Internet.com


Oh man, do people want this! I get so many letters asking for a search engine that will search just the user's site. Well, here ya go. This will search whatever directory you want, list the results, and even recognize if any results were found or not. The script is fairly robust, checking not only the title and file, but also the full file text. I'm giving you a fairly bare-bones results page. You can gussy it up all you want. I'm interested in the script more than its appearance here.

How about we have a look-see, huh? This script is set up to search the directory that contains all of the PERL primers. If you want to be sure to get some results, search "perl" or "Joe". If you want to be sure to not get results, try searching "zorkbabble". I don't think that appears.

See "Search It!" in Action

The HTML and PERL Code



Passwords are a pain in the bazock. Unless you can configure a server to protect an entire page, you have to go with some kind of JavaScript that's pretty easy to get past. Plus - once you do get past it, the password is no longer valid because you can just zip right to the page. Yes, I know you can put the password on every page, but how dull will that be, putting in a password every time? ...

Read article at Internet.com site
Related Articles
- Password protection through JavaScript
This is the first in a series of script tips meant to discuss and describe the concept of creating password protection through JavaScript.
- ASP Example 2: Password Protection
- Third password tutorial
- Headline Script
- Learning PHP: Installing and Configuring
Regional Articles
- Password Protection Alabama
- Password Protection Alaska
- Password Protection Arizona
- Password Protection Arkansas
- Password Protection California
- Password Protection Colorado
- Password Protection Connecticut
- Password Protection DC
- Password Protection Delaware
- Password Protection Florida
- Password Protection Georgia
- Password Protection Hawaii
- Password Protection Idaho
- Password Protection Illinois
- Password Protection Indiana
- Password Protection Iowa
- Password Protection Kansas
- Password Protection Kentucky
- Password Protection Louisiana
- Password Protection Maine
- Password Protection Maryland
- Password Protection Massachusetts
- Password Protection Michigan
- Password Protection Minnesota
- Password Protection Mississippi
- Password Protection Missouri
- Password Protection Montana
- Password Protection Nebraska
- Password Protection Nevada
- Password Protection New Hampshire
- Password Protection New Jersey
- Password Protection New Mexico
- Password Protection New York
- Password Protection North Carolina
- Password Protection North Dakota
- Password Protection Ohio
- Password Protection Oklahoma
- Password Protection Oregon
- Password Protection Pennsylvania
- Password Protection Rhode Island
- Password Protection South Carolina
- Password Protection South Dakota
- Password Protection Tennessee
- Password Protection Texas
- Password Protection Utah
- Password Protection Vermont
- Password Protection Virginia
- Password Protection Washington
- Password Protection West Virginia
- Password Protection Wisconsin
- Password Protection Wyoming
Related Articles
- Password protection through JavaScript
This is the first in a series of script tips meant to discuss and describe the concept of creating password protection through JavaScript.
- ASP Example 2: Password Protection
- Third password tutorial
- Headline Script
- Learning PHP: Installing and Configuring

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML