php - JS/jQuery security -


as beginner, i'm wondering if i'm doing secure. example, finished working on code checks how many times (cross-domain) iframe has been clicked. , when clicked, inserting row mysql (log) table based on ajax request(with jquery) wraps id of iframe $_post:

$.ajax({          url: 'execute.php',         data: {action: 'some-id'},         type: 'post'     }); 

however i'm wondering: because javascript executed client-side, possible user send fake data through ajax request 'execute.php' page?

is possible user send fake data through ajax request 'execute.php' page?

yes.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -