php - Is there a way that the client can see what's in $_SESSION? -


I have to put some important data into PHP in the $ _ session variable, and know that this The data will be safe. Is a client able to see information inside this $ _ session / ? Does any security effect in storing sensitive data within a session?

In fact, you should take action to make session more secure ..

1) Disable session ID by URL only to session ID, and use session ID by session ID url. 2) Set session_says_path to a new location outside your public index. If you are on a shared host they can not use session injection to look at their session. Better use the database as session handler.

3) Disable the trace, track, headers, of your webserver HTTP methods, if an attacker has some Java, Flash or AJAX user http cookie It could also be stolen.

4) The lock session on the IP user or some type of fingerprint ...

5) Upgrade session_id to make session IDs brighter more difficult on all requests

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -