Are Laravel session variables secure?

后端 未结 2 1546
难免孤独
难免孤独 2020-12-19 15:23

Is there any (known) way for end users to edit a Laravel session variable?

2条回答
  •  情深已故
    2020-12-19 15:45

    They would have to run code (something like Session::put('key', 'value');) on your server.. or take advantage of possible vulnerabilities on your application.

    If you're using the Session carefully on your side (validation, etc.) it should remain the same unless you update it.

    More on Laravel's Session here: http://laravel.com/docs/4.2/session

提交回复
热议问题