Kevin
Fri Sep 10 07:24:31 CDT 2004
The reason that passwords are not shared by groups of people is that
eventually, someone IN the group gets OUT. When your ONE password gets out
to the world, it is then time to change the password, and make EVERYONE
memorize the new one.
Using JavaScript to check a password is equivalent to giving out your
password to the entire world, as JavaScript can only read the same HTML
you're looking at in the browser. If the JavaScript can read it, you can
view the HTML source code and read it too. And so can anyone else.
I would suggest reading the following article on the Microsoft web site. It
tells you how to set up a restricted access web site. This can be a subweb
of your existing site, with special permissions:
http://support.microsoft.com/default.aspx?scid=kb;en-us;825451&Product=fpw
--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"milo" <anonymous@discussions.microsoft.com> wrote in message
news:963e01c496fa$a4a58d80$a301280a@phx.gbl...
> I was asked by my club to put a password on our members-
> only section. There needn't be a different password for
> everyone; just a word we all know (let's say "parrot") to
> validate against.
>
> I tried doing this with a form, but there were two
> problems:
> 1) it wants to send the data to a file or email. i don't
> want the data
> 2) even though I set it to be a password field, when the
> wrong password is put in, the validation message comes
> back saying "Please enter a value equal to "parrot" in the
> Password field". Sort of defeats the purpose!
>
> What's the right approach in FP2002 for this sort of thing?