Java servlets: How to detect (on Server Side) if JavaScript (on Client Side) has beeen tampered with? -


this general question, please bear me ... have put alot of effort in form validation javascript, before submitting forms server, idea hit me ... have countless times viewed source of websites find how things work. know although not change javascript, when comes form validation, can set break-point before validation script runs, change div/input tag id/class validated, put original name after stepping through validation steps , before submitting form.

then hit me might have re validate on server side again ... each time.

here question, how make sure, or @ least detect javascript/html has been debugged/ source-viewed/ tampered with?

thanks alot!!

initial thoughts on subject: maybe check sum of entire loaded document (js files, html) submitted along form, or through ajax post prior submitting, wont hinder seasoned programmed much.

you can't, it's not possible. if send checksum form, user can change checksum before submitting. way revalidate server side, , never trust coming client.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -