Don't ask to ask, just ask | |
PerlMonks |
Re: How to hide JAVASCRIPT coding from CGI?by jZed (Prior) |
on Mar 14, 2005 at 17:49 UTC ( [id://439378]=note: print w/replies, xml ) | Need Help?? |
1. JavaScript can only "validate" what is on a given HTML page, it does absolutely nothing to validate what is recieved by a CGI script. All anyone has to do is copy the original page, take out the javascript and submit that copy and your CGI will recieve the form with absolutely no validataion.
2. "Hiding" JavaScript is the same thing as not using JavaScript. If you use JavaScript it is, by definition, visible to the browser - otherwise the browser couldn't execute it.
In Section
Seekers of Perl Wisdom
|
|