?
Solved

Password-box like E-X-login

Posted on 1997-12-14
3
Medium Priority
?
227 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
[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
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 84

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

Python: Series & Data Frames With Pandas

Learn the basics of Python’s pandas library of series & data frames and how we can use these tools for data manipulation.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
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…
Suggested Courses

718 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