[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?