php - Post value through load Jquery function that not visible in source? -
what want want load page in div
$('div[id=main]').load('logo.php?id=<?php echo($id); ?>');
but user can open page typing in url /logo.php?id=123
$('div[id=main]').load('logo.php',{ '12secret2': "hack"});
finding code hide passing value post,that not visible in user source code , able redirect if it's not passed
$('div[id=main]').load('logo.php',{ '12secret2': "hack"});
is visible not able hide passing value
if conducting client server communication traffic visible client side, no matter do. if want security encode client communication portion in form of binary code , encrypt how. still possible reversed.
having said that
you should use session maintain data don't want client see
Comments
Post a Comment