Welcome Guest, Not a member yet? Register   Sign In
Disadvantages of storing session data in MySQL?
#8

[eluser]Devyn[/eluser]
[quote author="jedd" date="1253239231"][quote author="Devyn" date="1253233117"]
I'm developing a php game with CodeIgniter and my system is going to accept some data that I don't want to be changed by user.
Since cookie is not secure, storing session data in MySQL is one of the option.
[/quote]

What makes you think cookies aren't secure?

You can [url="http://ellislab.com/codeigniter/user-guide/libraries/encryption.html"]encrypt[/url] your [url="http://ellislab.com/codeigniter/user-guide/libraries/sessions.html"]session data[/url] by setting $config['encryption_key'] in your config/config.php file.

This makes your session data / cookie particularly secure, and would probably be much easier than the kinds of things you're looking at doing.[/quote]

I have search on the Internet and most of them say we can encrypt the cookie but hacker can still access the data and change.
I'm developing a card game so I'm afraid to store value of cards in cookie.
Can you please lead me some way to make bullet proof of cookie data?


Messages In This Thread
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 01:18 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 01:35 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 02:25 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 02:32 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 02:35 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:00 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:03 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:14 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:20 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:25 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:58 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-18-2009, 12:31 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 07:06 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 09:12 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 10:24 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 10:51 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 11:25 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 11:45 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 12:01 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 12:46 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 03:08 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 04:04 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 04:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB