Thanks, for the help. The script I listed earlier is to be used for a
team website on a company intranet. You stated that it is not very
good code or even very secure for that matter. Is the code that you
wrote in your e-mail better? I expect that it probably is. Finally,
can I use this code on my site to do what I want? Thanks, again.
Anthony wrote on 30 dec 2006 in comp.lang.javascript:
>> Sending the usernames and passwords to anyone on the web
>> is not realy a secure constraint.
>> I think it is more dangerous thad having no login at all,
>> because it gives false security to the user [and webmaster!]
>> That being said,
>> the above code is a bit strange,
[quoted text clipped - 33 lines]
>> </form>
>> ==========================================
[Please do not toppost on usenet]
> Thanks, for the help. The script I listed earlier is to be used for a
> team website on a company intranet. You stated that it is not very
> good code or even very secure for that matter. Is the code that you
> wrote in your e-mail better?
I never wrote you an email, this is an usenet posting.
No the code is not better security wize, and if you are not proficuient
enough to see the security flaw for yourself, PLEASE do not go this way.
Password security should be checked ON THE SERVER with serverside code.
> I expect that it probably is.
No, see above. Even on an intranet, id you think security is important,
do not use clientside coded checking, becauseanyone can look at the
source and print out all the username/password combinations EVEN BEFORE
being checked.
If you show us an URL with your code, most of us here can get in within
30 seconds.
My code is "better",
in the sense that you can add per single row users ad libitum
without changing the rest of the code:
>> var arr = [
>> ['member1','password1','http://x.yz/page1.html'],
['blag','broum','http://www.cnn.com\'],
['bl222ag','br888oum','http://www.aol.com\'],
['bla444g','b666roum','http://www.google.com\'],
>> ['member2','password2','http://x.yz/page2.html'],
>> ['member3','password3','http://x.yz/page3.html']
>> ];
> Finally,
> can I use this code on my site to do what I want?
Certainly, if you are not troubled with the above.

Signature
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)