Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 469601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:47:57+00:00 2026-05-12T23:47:57+00:00

I’ve around 1GB of structured text data, (which is currently stored in database MySQL,

  • 0

I’ve around 1GB of structured text data, (which is currently stored in database MySQL, mroe than 1million records) used by software. I’ve to ship this data along with the software.

I also need to protect this data. This data shouldn’t be not accessible for users for other purposes. This software is just like an interface to data. like any database client.

Whats the best method to do so? Also kindly tell me pros and cons of these methods available so that I can decide myself next time.

EDIT::

I think my question is not clear. My software operates on this data. It provides query interface for this data. It shows data according to user according to his needs by querying the DBMS which has this data. My major concern here is not the size of the software (along with this data). I don’t want user to redistribute this data. So, storing encrypted data in a zipped file is not a solution.

  1. So, I must use embedded DBMS like sqlite. But how to secure this? So, that user cannot distribute.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T23:47:57+00:00Added an answer on May 12, 2026 at 11:47 pm
    1. Ship it on a DVD accompanying your product.
    2. Make it available for download from a website.
    3. If bandwidth allows, provide a web service and have all your users connect to your central database via the web service instead of having standalone instances of your data.

    Once you distribute data, it’s more or less out of your control. You can do things like encode or encrypt it, but it’s not a foolproof solution. The only real, sure-fire way to protect your data is to not give it out.

    That having been said, there are a few possibilities:

    • Encrypt the database in some way. If the database isn’t for reporting and doesn’t need to have a lot of general queries run against it, you can encrypt at the row or field level. This will REALLY slow down the system, though.
    • If using an embedded database, encrypt the entire file. This will significantly slow down startup and shutdown time for your app, though.

    Unfortunately, once you distribute your data, it’s a losing battle to try to secure it. A better bet, if you can, is to provide a query web service so that your data are never archived en toto by a user – you just send them query results over the wire. You can adopt a user authentication strategy to verify that only legitimate users use the system, and maintain tighter control over your data that way.

    EDIT: see my final paragraph. If you’re distributing your data, you no longer have explicit control over who can come into possession of it, so any “control” of your data must be due to encryption or a similar protection. Unfortunately, you have to distribute a key at some point to the user (or the software the user’s operating) in order to access the data. A sufficiently sophisticated user will then be capable of capturing the key and breaking your data protection. But, given that complete security is an impossibility once your data are in the hands of the user, you can give it your best effort by applying encryption. Your only two real options at that point are to encrypt data per row (or field?) or to encrypt the entire embedded database file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a text area in my form which accepts all possible characters from
I have a reasonable size flat file database of text documents mostly saved in
I have a bunch of posts stored in text files formatted in yaml/textile (from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I would like to run a str_replace or preg_replace which looks for certain words

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.