Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

200
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda