Solved

a better password?

Posted on 1997-12-04
2
150 Views
Last Modified: 2013-12-25
OK, here's the deal. I've seen the various password protect
scripts, htaccess, javascript, etc.
What I would like to do, though, is this:
there is a single link on a page, user clicks link, they are then asked for a username and password and BASED ON USERNAME AND PASSWORD are sent to a specific page.
0
Comment
Question by:seanD
2 Comments
 
LVL 6

Accepted Solution

by:
tecbuilder earned 50 total points
ID: 1855799
Do you have server-side access.  If not then JavaScript is your only means of doing what you want.  The problem with JavaScript is that anyone can read the code.  You can do things to make it difficult to determine what the password and username is, but it won't stop someone who really wants to know.

The simplest and most effective means is to create a form with an input field and have the person enter in the filename.  If the file doesn't exist then they don't go anywhere.  You can create different files for different types of access or for each individual.  Each file would have it's own set of links that allows the user to access.
0
 
LVL 84

Expert Comment

by:ozo
ID: 1855800
Or you could have your CGI script check $ENV{REMOTE_USER}
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

759 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

16 Experts available now in Live!

Get 1:1 Help Now