سؤال

How to pack, distribute and protect data when using node-webkit and creating executable app. I use Enigma Virtual Box to create packed app.exe (Following instructions from node-webkit github). But I must have a data folder in which my data.db file is. (I am using NeDB for data persistence). That file is accessible to every user and it can be changed easily with text editor. Is there a way to protect that data or is there better way for distributing app.

هل كانت مفيدة؟

المحلول

You can use default crypto module to store crypted information in your db .

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top