java - Can a malicious user on a web application manipulate the inputs (beside the form data) that is sent by the front-end of web application? -
are there possible ways malicious user on web application can manipulate input sent front-end of web application (not talking form data, of course) requests sent e.g., when allow him edit profile or content, may manipulate ids (userid or contentid) may maliciously evil other users content? these inputs fixed on webpage & not editable still can users manipulate them?
is possible users may harm in manner? how can safeguard application against this? besides, verifying user's identity , contents/properties on application prior allowing each of actions.
yes of course. anything comes client can modified , cannot trusted @ all.
you need server-side checks if user editing own profile or he's allowed edit.
for things editing profile use userid stored in session though (assuming it's secure, i.e. stored server-side or in cryptographically signed cookies). let data go through client if it's necessary - if data available on server, don't have give user feeling might able tamper it. though used honey-pot - that's not purpose of webapps...
Comments
Post a Comment