Thursday, 15 April 2010

security - Is Storing User Input in a PHP Serialized Array Secure? -



security - Is Storing User Input in a PHP Serialized Array Secure? -

i'm taking user input , writing array:

$array = ( 'name'=>$_get['some name'], 'text'=>$_get['some text'] );

i'm storing data:

file_put_contents($myfile,serialize($array));

i'm wondering, since text , name user generated, type of security issues i'm looking @ here.

if write access file limited script - it's safe that.

php security serialization

No comments:

Post a Comment