473,287 Members | 1,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Password on webpage

I need to create a submission form but I only want certain people to
have access to this page. So from the main screen when the user
selects the button to move to that page I would like a dialog box to
open and the user to enter a password. There will be only one
password. If the password is correct then they can access that
webpage.

I'm a programmer but I don't do webpages and the pages on this site are
written in java.

Any help would be appreciated.

Mar 27 '06 #1
4 2805
Ivo
<vi*******@netzero.com> schreef in bericht
news:11**********************@z34g2000cwc.googlegr oups.com...
I need to create a submission form but I only want certain people to
have access to this page. So from the main screen when the user
selects the button to move to that page I would like a dialog box to
open and the user to enter a password. There will be only one
password. If the password is correct then they can access that
webpage.

I'm a programmer but I don't do webpages and the pages on this site are
written in java.


Bottom line: Javascript runs on the client machine and so depends on the
user having it enabled and not tampering with it. Any filtering done at the
client side is at best a convenience, saving time and traffic, but any real
validation must always be done on the server. Whether that 's done in java
or PHP or anything else, is irrelevant, as long as you control it. You have
no control over scripts running on the client.
--
hth
ivo
http://4umi.com/
Mar 27 '06 #2
vi*******@netzero.com wrote:
I need to create a submission form but I only want certain people to
have access to this page. So from the main screen when the user
selects the button to move to that page I would like a dialog box to
open and the user to enter a password. There will be only one
password. If the password is correct then they can access that
webpage.

I'm a programmer but I don't do webpages and the pages on this site are
written in java.


Then you probably want to find a Java newsgroup. This is about
JavaScript - a totally different animal.
Mar 27 '06 #3
I had the same problem back in 1997. I spent $85 and bought the Perl
prgram Protect It 2.0 from Jason Berry.
I think he is still around. You can write your own script in Perl, but
for $85 it isn't worth your time.
This program has served excellently for almost 10 years. You can't do
a secure password protection routine with JavaScript.
This program runs on unix based servers such as the one's employed by
Powweb.com. I don't think it will run on a Windows Server. I highly
reccomend powweb.com. You can't even run a company server for the
prices they have.
If the pages are written in java, they have got a problem or else they
have lots of money to waste. Are you sure of this?

Script: Protect It #
# Version: |2.0 #
# By: Jason Berry (CGI World) #
# Contact: ja***@cgi-world.com #
# WWWeb: http://www.cgi-world.com #
# Copyright: 1996-97 CGI World #
# Last Updated: Oct 15, 1997

Mar 27 '06 #4

<vi*******@netzero.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
I need to create a submission form but I only want certain people to
have access to this page. So from the main screen when the user
selects the button to move to that page I would like a dialog box to
open and the user to enter a password. There will be only one
password. If the password is correct then they can access that
webpage.

I'm a programmer but I don't do webpages and the pages on this site are
written in java.

Any help would be appreciated.


Make a web page with a text box for the password and have it submit to a jsp
or cgi or asp script that will validate it, and serve up the secret page, if
the secret word is correct.
Its not a job for Javascript.
Mar 28 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Candice | last post by:
Please somebody help! I've deleted my admin username and password which was initially set at test. Now I can't log into my website as the administrator. How do I put Username and Password back so...
2
by: john brown | last post by:
There is a web page that I access frequently and would like to automate the authentication of the username and password. I would like to user a perl script but I'm not really sure about the steps....
0
by: cgian31 | last post by:
I need to hide the complexity from users to access an information webpage, which is normally accessible after filling in a web form with the correct data. The address of the information webpage...
4
by: cgian31 | last post by:
I need to hide the complexity from users to access an information webpage, which is normally accessible after filling in a web form with the correct data. The address of the information webpage...
3
by: prophet | last post by:
I know that this is going to be so simple to fix, but I have been pulling my hair out trying to see the forest through the trees...... What I want to do is change the onMouseOver so that when you...
4
by: prophet | last post by:
so hopefully only one more question about this..... so I have a webpage using frames. I have a header and a column down the left, and the main body (all of which have different htmls but are...
3
by: Noel S Pamfree | last post by:
Problem 1 ======= I need to create a page for a friend who operates a school website. She needs to set up a page so that only the Governors can access it. I thought I'd try to use JavaScript to...
2
by: Darvon | last post by:
Hello everyone. I have this website I would like to add some simple password protection to.. Nothing too fancy, so I decided to pull out an old javascript I came across sometime in the past that...
3
MusoFreak200
by: MusoFreak200 | last post by:
hi again everyone i need help in setting up (using html) a username/password for a webpage if anyone could help me please i would be greatful. thanks cya MusoFreak200
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.