Solved

Password-box like E-X-login

Posted on 1997-12-14
3
225 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 50 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

636 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