Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

204
Views
How to secure an SQLite local database in Javascript?

I want to use a local database using SQlite to provide access of data in offline. The data should be read by a specific JS application, and only this one. How to prevent other application or malicious user to look in the database ? I am thinking about encryption but that will be hard because the key need to be hide on the application machine, and i dont know how to do that.

Thanks.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can't.

If the data is stored in a file, then any local application can access it.

If the data is stored using a browser storage API, then other web application's won't be able to access it, but local applications and the user will be able to.

If you encrypt it, then the application will need to have the key to decrypt it, and if the application has access to the key then so does the user and other local applications.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!