Sqllite encryption with Cipher

7 posts, 0 answers
  1. Chris
    Chris avatar
    6 posts
    Member since:
    Jun 2013

    Posted 19 Nov 2014 Link to this post

    I am just researching mobile technologies at the moment but one of the things I'd like to be able to do would be to have some kind of encrypted offline storage. Is there any way of using SQLlite with something like Cipher so it can be encrypted?
  2. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 24 Nov 2014 Link to this post

    Hello Chris,

    There are multiple solutions available for encrypting SQLite databases. The top-rated answer in this Stack Overflow thread lists some of them:
    SQLite with encryption/password protection

    Regards,
    Tsvetina
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. Chris
    Chris avatar
    14 posts
    Member since:
    Oct 2012

    Posted 24 Nov 2014 in reply to Tsvetina Link to this post

    But how do you use them with AppBuilder. Are there any tutorials?
  4. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 25 Nov 2014 Link to this post

    Hello Chris,

    Currently, we have integrated SQLitePlugin to our environments and it is ready to use out of the box. At their repository page, you can see that the plugin is compatible with SqlCipher and see some useful links how to integrate the SQLitePlugin and SqlCipher. If you do not know how to translate any of the instructions into the AppBuilder context, you could ask us.

    However, as the SQLite plugin is a third party software we will advise you to contact their development team if you encounter any integration issues between the plugin and the encryption solution you choose to use.

    Also, note that you are not limited to the SqlCipher solution and you can use whatever other custom plugin or approach that fulfills the compatibility requirements.

    Regards,
    Tsvetina
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  5. Chris
    Chris avatar
    14 posts
    Member since:
    Oct 2012

    Posted 25 Nov 2014 in reply to Tsvetina Link to this post

    Yes could you explain how to integrate it with AppBuilder? Bear in mind I'm very new to Cordova.
  6. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 28 Nov 2014 Link to this post

    Hello Chris,

    You should start by importing the SQLite plugin as a custom plugin in your AppBuilder project. You can find instructions for this here:
    Import Custom Plugins

    Then, you should follow the instructions provided in the SQLite documentation for integrating SqlCipher. Note that, since none of the two is a Telerik product, a solution that integrates the SQLite plugin and SqlCipher is out of the scope of the Telerik Support Service. We could help with information regarding the AppBuilder features only. For cases like yours, we offer a more customized level of service through our Telerik Partners.

    If you are interested, you can learn more about Telerik Partners here: Telerik Partner Network; and you can find one that will suit your needs here: 
    Find a Telerik Partner.

    Regards,
    Tsvetina
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  7. AB
    AB avatar
    1 posts
    Member since:
    Jul 2013

    Posted 17 Feb 2015 Link to this post

    has anyone tried this solution? is it working?
Back to Top