Busta117 / SQLiteUnityKit

Framework to connect with a SQLite database from Unity for iOS, Android, MAC , Windows
300 stars 77 forks source link

Password #1

Closed thuydx55 closed 10 years ago

thuydx55 commented 11 years ago

This repo is good for us for connecting to sqlite database. But how can we connect to an encryption sqlite database with password

Busta117 commented 11 years ago

hi, the encryption option of the sqlite is not a basic functionality of sqlite, so, the basic libs of sqlite does not support encryption, this framework use the basic sqlite libs

thuydx55 commented 11 years ago

thanks, so there are no way to encrypt database, isn't it?. It's very easy to modify database while game is running on devices

Busta117 commented 11 years ago

depends of the device, in iOS is possible modify the database only if your device is jailbroken, but always you can encrypt the fields of the database, maybe do some md5, or append control characters or something like that to prevent the easy modification, more than encrypt the database file, encrypt the fields on the database

this is my advice.