How to protect data in SQLite database?

Let’s learn how to protect data in SQLite database. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

Android: how to protect data in a SQLite database?

I'm currently developing an Android game which saves data into a SQLite database. This is not really "sensitive" data, but I don't want users to be able to modify it (for obvious reasons of game balance, as it would be cheating). And it's quite easy to access and modify a SQLite db when your phone is rooted (there are plenty of applications for that in the market). So should I even worry about that, or consider users with a rooted phone can do whatever they want including cheating and...

Answer:

Root access for everybody and security are mutually exclusive. Any application or user with root permissions...

Read more

Guillaume at Stack Overflow Mark as irrelevant Undo

Other solutions

How do you protect sensitive data in a database?

I've written a simple email backup service, in which I can easily forward my mail to my server and it'll store it in a database. Currently, I'm just base64 encoding the data and then storing it. I've been told by many people that they trust GPG the most...

Answer:

Assuming that you are talking about relational databases, there are privileges that can be applied to...

Read more

Steve Larrison at Quora Mark as irrelevant Undo

Using a MySQL database on the server, is SQLite the only option to use with development of an iOS app? If not, why use SQLite?

New to app development, but know that SQLite is used often in mobile device development. Trying to just get my head around the implementation. I know the main data is in MySQL database on server and then SQLite runs on phone to store content on device...

Answer:

When I was doing mobile development I could not find any simpler and better alternative than sqllite...

Read more

Nayan Jain at Quora Mark as irrelevant Undo

Advice sought: platform for low traffic, interactive, data driven web

I've been out of the web dev loop for a while but am aware of (but have little practical experience with) various new platforms and packages from a design/technological architecture standpoint. I have two needs: a personal/professional home page and...

Answer:

Laravel might be worth a look.

Read more

kalessin at Ask.Metafilter.Com Mark as irrelevant Undo

Would you use Core Data for an iOS app with a social feed (think Facebook posts), where you sometimes have a need to persist those feed items?

We are building a mobile polling app, similar to the Twitter model where you view a feed of those you are following, and can also ask questions directly. So it makes sense to persist questions you asked (and their related objects, answer choices and...

Answer:

What I would do: Core Data I would be to use Core Data for the social feed. Core Data supplies such...

Read more

Roderic Campbell at Quora Mark as irrelevant Undo

What can we do about the shortcomings related to data backups for desktop and web apps?

Data backups for certain desktop applications have a problem: if the app stores its data in some kind of database (e.g. sqlite), a naive backup of that database while the app is still running could be a corrupt file, because the database could be in...

Answer:

This is why Microsoft developed VSS, so that it would be possible to take consistent snapshots. On Linux...

Read more

Greg Baker at Quora Mark as irrelevant Undo

Is the life of a solid state drive (SSD) affected if used with applications that use frequent writes like SQLite?

I have an application that makes frequent COMMITs to an SQLite database and I have heard that SSDs suffer quite a bit of wear on writes. I reasoned that it could be possible to distribute the writes in such a way that any one location does not suffer...

Answer:

I have almost no experience in databases or SQLite. However what you've heard about the wear on SSDs...

Read more

Ajinkya Dahale at Quora Mark as irrelevant Undo

I want to make an sqlite driven database app on Android devices where should I place (securely) a 17+ Mb file so it is accessed only by the app and not by users?

I am trying to develop a (phone) hierarchical drilldown paid app (database book). The database is essential for the app, and is downloaded from the net. But I want it to be secure, because for example if I put the data to sdcard they might be accessible...

Answer:

Hi You may want to encrypt the database, thats your best bet. Even , if the database is within the ...

Read more

Khurram Samad at Quora Mark as irrelevant Undo

Is "millions" of small data items a "large amount" for a database?

Or can any database handle this comfortably?  For example, at what data size (B or rows) does an indexed table become unmanageable in MySQL, SQLite, Postgres, Oracle etc?  At what point do you go beyond the capacities of, say, an 8GB server with a TB...

Answer:

Really depends on your data-set. As an example, I have a database in MySQL with somewhere over a billion...

Read more

Damon Cortesi at Quora Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.