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

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -