Solved

Password protected web

Posted on 2000-03-14
4
242 Views
Last Modified: 2010-04-09
I'm creating a web site for a Spanish section of  I.P.A. (International Police Association). It will be an open place to visit, but some information will be restricted to IPA members (it will not be "top secret" info, but restricted one), so I want to know how can I do it. I know standard HTML 4.0 and JavaScript 1.2, but I haven´t found how to do it in a reasonably difficult-to-break way.

If the answer involves some other techniques, such CGI or others, please be detailed as I'm a complete newbie to them, altough I learn quickly. If this is difficult and the answer worths it, I can increase the points, just let me know.

It would be ideal the same technique used in some private webs: an input box asking for a user name and a password to get into the private area.
0
Comment
Question by:BETTY
4 Comments
 
LVL 1

Expert Comment

by:staynegative
Comment Utility
If you're running UNIX or Linux - or some other flavor... just mark this as rejected now...

If you're running NT... and you want to do something quickly - you can create a subfolder for the 'protected' materials... and use NT permissions on that subfolder to create a popup requesting an NT username and password.

The person would have to CLOSE the browser for their access to cease so they would be able to see any and all 'protected' items in this subfolder without logging in each time... or passing information from page to page - which is inherantly not very secure.

Drawback - you'll either be giving everyone who SHOULD have access the same username/password OR you'll have to create a user account for each person you want to be able to get in there from your NT.

judy
0
 
LVL 1

Author Comment

by:BETTY
Comment Utility
staynegative: I reject your answer in order for you to receive the email notification.

From your answer I see I've run too much: I still don't know what OS is running the destination server, nor if I'll have CGI provileges, ... NOTHING.

I hoped there was a JavaScript way, or something OS-independant. So I'm going to erase the question in five days, and I will re-post it when I have more info about the web server.

Thanks
0
 
LVL 8

Expert Comment

by:stefanx
Comment Utility
Then let's hope she uses UNIX or Linux, or Apache under NT. If this turns out to be the case Betty, check out the previously asked question at http://www.experts-exchange.com/jsp/qShow.jsp?ta=webauthor&qid=10302450
0
 
LVL 1

Accepted Solution

by:
makisupa earned 100 total points
Comment Utility
Betty there is a way to do it with javascript,  here's the link
http://javascript.internet.com/passwords/
there are a lot of scripts that might do the job your looking for here
Hope this helps
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

762 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

8 Experts available now in Live!

Get 1:1 Help Now