Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Password-box like E-X-login

Posted on 1997-12-14
3
Medium Priority
?
236 Views
Last Modified: 2013-12-25
I want to make a password-box just like  the "experts-exhange" uses to log in.

How can I make it?

Greetings,

Max
0
Comment
Question by:xynyx
3 Comments
 
LVL 6

Expert Comment

by:alamo
ID: 1856001
Depends what server and OS you are using, and how you want to use authorization. There are things you can do, things you can't, and different ways to do it. So you need to tell us more.
0
 
LVL 85

Expert Comment

by:ozo
ID: 1856002
To do it exactly like Experts-Exchange, configure your server to return the headers:

HTTP/1.0 401 Unauthorized
Date: Sun, 14 Dec 1997 21:51:10 GMT
Server: Apache/1.1.2
Content-type: text/html
WWW-Authenticate: Basic realm="Experts Exchange Customer"


0
 
LVL 8

Accepted Solution

by:
jhurst earned 150 total points
ID: 1856003
To really have passwords like E-X you would need to have a server that supports this.  I suspect that you want to do this in JS.  You can get very close by creating a window, with window.open... and then asking for the password in this window.  This smaller window would post the results back into the opener when the submit is pressed.  The submit would also close this window.

The bad news is that, unless you think very carefully anyone who understands JS will be able to look at your code and work out the passwords.  There are ways around this, if you actually have the passwords that are acceptable as pages that are loaded when the password is entered.

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

916 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