Symfony 1.4 form security - change in input values by users wielding firebug -


if user change input value through firebug or other debugging tool. form performing process id not available in input.

for example, if user logged in application user id 1 , authorized send messages user 2 , 3 only. while composing message, when selecting user drop down, changes id firebug 4 (which not authorized). message goes user 4. how should handle it? symfony provies form encryption or else. user can not modify type of thing form browser add-on.

how can secure form in symfony 1.4? please suggest.

you should validate user input. in symfony can use validators (e.g. sfvalidatorchoice or sfvalidatordoctrinechoice). please read docs.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -