From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,ea7932505192c540 X-Google-Attributes: gidf7344,public X-Google-Thread: f6134,ea7932505192c540 X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,ea7932505192c540 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-02-05 19:49:56 PST Path: supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!feed.textport.net!newsfeed.stanford.edu!cyclone.bc.net!malad2.mala.bc.ca!dunnett From: nothome@spammers.are.scum (Malcolm Dunnett) Newsgroups: comp.org.decus,comp.sys.dec,comp.os.vms Subject: Re: Vote Early and Often... Give up your Browser Security Date: 5 Feb 2001 19:48:25 -0700 Organization: Malaspina University-College Message-ID: References: <3A7F3AB9.5B2999AC@infopuls.com> NNTP-Posting-Host: malvm1.mala.bc.ca Xref: supernews.google.com comp.org.decus:588 comp.sys.dec:2763 comp.os.vms:18981 In article , Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) writes: > > There two basic types of trust: > > The author is an honorable person. > > The author is technically competent. > > Now somebody not bright enough to figure out how to do it with HTML > seems to me unlikely to be able to get the security part correct if > they do it with Java/Javascript/Cookies. > OK, I'll admit incompetence. What *is* the correct, HTML, non Javascript way to validate user input within a browser ( eg check that all required fields are filled in correctly, values are within range, etc ). Of course this can be done at the backend ( indeed must also be done there), but that provides a much less responsive environment for the user. I don't think Javascript is a "gimmick", I think it's an important enhancement to browsers which makes them much more useful tools for interacting with the customer. It's unfortunate there are some flaws in the language which malicious sites can exploit but that hardly seems a reason to condemn the whole language. At least they're not demanding you download an active-x control to access their website :-) OTOH anyone who's truly security conscious would never keep any sensitive information on their PC, or run a browser on their VMS system, so even the most malicious Javascript shouldn't be able to do a lot of harm :-) :-)