iOS Question SQL Database Encryption Key

Discussion in 'iOS Questions' started by Darren69, Mar 19, 2015.

  1. Darren69

    Darren69 Member Licensed User


    I have been looking around for the answer, but could not so here is a new question.

    I have a SQL Lite Database that uses an encryption Key to stop the database from being viewable in a database viewer. I have been using an unencrypted version in my mobile apps because I think its harder to pull that information from the device (I could be wrong) but due to the way Apple insist on re approving an application when its updated it means even a small database change needs to go and be re approved by apple which takes 10 days. I thought of a way around this by just having the app go and grab the latest version of the database, but this means having the unencrypted version available somewhere.

    in my desktop versions I am able to use the SQL.EncryptionKey to tell the my program what the encryption key is. Is there something similar in B4I I can use?


  2. Erel

    Erel Administrator Staff Member Licensed User

    B4i SQL library doesn't support encryption. If there is a specific column that you like to encrypt then you can manually encrypt the data and store it in a blob field.
  3. Darren69

    Darren69 Member Licensed User

    Thanks Erel, the whole database is encrypted, but I less worried about that at the moment as i bang my head against a wall trying to make push notifications work - expect a new thread soon ;)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice