Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
|
But can someone inject a session? or modify it ? or even view it?
|
Yes, if you give them the possibility.
It's depending on how you code.
Imagint that you have a page, named session.php, that is like this:
PHP Code:
<?php foreach($_GET as $key=>$val){ $_SESSION[$key]=$val; } ?>
Then yes, they can inject whatever they want into the session.
But there is nothing that allows a user to alter his session without you knowing it or doing something that explicitly permits him to do so.
__________________
Only a biker knows why a dog sticks his head out the window.
|