Solved

Password protected web

Posted on 2000-03-14
4
245 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
ID: 2617301
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
ID: 2617627
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
ID: 2617709
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
ID: 2618580
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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

821 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