WebWorks IndexedDB encryption?

Hello there are other developers!

I think I read somewhere that sqlite in the Webworks Applications databases are encrypted.

What I was asking is if goes the same for IndexedDB databases used in the Webworks Applications since I think in browsers, indexedDB has only the same security cookies (same access domain only). If they are not encrypted are there ways encrypt or add any additional security for them?

No, it is not encrypted.

However, due to the nature of the BlackBerry 10, it is secured by the operating system in the sandbox of the application (i.e. the OS restricts all other apps trying to access).

Tags: BlackBerry Developers

Similar Questions

  • Using Webworks database in Java.

    Hi all.

    Just a quick question. Is it possible to use/access/write in a database created by an application of webworks (using javascript) in a java application built eclipse?

    I've already tried it and of course it is encrypted. I tried to copy the file, open a file connection and copy the data from the original file to the copy and then open the copy, as other people mentioned, but it is always encrypted. I believe that this method is only to overcome a java built the database previously saved on a SD card that uses only the card encryption.

    Of what my research has shown is that webwork applications automatically encrypt it to the databases. So I'm assuming that only a webworks application can decrypt this type of database and there is no way that a created Java application will be able to access. I hope that's not true!

    Thanks for your time guys!

    Rob

    According to http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Database-problem-in-the-webworks, the PB is encrypted and cannot be opened with the key stored in the webworks app.

  • Problem of database in the webworks for smart phone

    Hi guys of BB.

    I have some difficulties in the part of the database,

    How could I see the database created in the webworks, I know that the path has been created

    but I was not able to open the database is how can I could check it out like any SQLmanager or some think to check that. To display the DB created in this part.

    Unfortunately, you will not be able to open and view your database with another tool.  The database is encrypted, and is only accessible with the encryption key stored with your application WebWorks

  • How or there is no model code keep update/sync the local database indexedDB for MySQL database online?

    How or there is no model code keep update/sync the local database indexedDB for MySQL database online?

    Unfortunately there is no direct connector for an application of WebWorks to a back-end database. You will need to do, is to have some middleware web server (Apache, Node.js, etc.) who manages a web service that you can make an HTTP request to and GET, POST, UPDATE, DELETE data. Middleware and then transmits commands to the back-end database and returns the results to the finished device.

  • Existing port BB10 Webworks ask BBOS 6 and above devices

    Hi all

    Please guide me the easy steps to port my app BB10 BBOS 6 and above.

    My applications BB10 has features such as WCF service calls, Parsing XMl and JSON localstorage using format.

    and my file config.xml looks like at

    http://www.BlackBerry.com/ns/widgets"version ="0.9.1.25"rim: header =" "RIM-Widget: RIM / widget" xmlns =""http://www.w3.org/ns/widgets " id ="sow">"
      DIABATE
      LS
      https://github.com/tneil "> MMAD"
     
     
     
     


     
     
     
     
     
     
     
     
     
     


       
     


        
        
        
        
        
     


     
     
     
     
        
        <>ermissions >
            <>Ermit > access_sharedermit >
            <>Ermit > bbm_connectermit >
        <>Ermit > connectionermit >
        <>Ermit > access_pimdomain_calendarsermit >
        ermissions >

    Note:

    (1) is THAT BBOS supports all of these features of the config I am uisng for BB10? If not then how to make it compatible with BBOS

    (2) how much of the business logic and .css changes I need to do

    (3) what will be the structure of the application of the Image etc...

    There is no direct way to just "convert" an app, although there are some things you can do to facilitate the process.

    For example, if simply package you your config.xml into a ZIP file and try to package it with BlackBerry WebWorks 2.3.1.5, package manager will alert you to any function (more precisely the features that do not exist in this version of the SDK WebWorks.)

    For example, try to wrap your config.xml I received:

    [ERROR]         Feature cannot be found in any extension(blackberry.ui.toast)
    [ERROR]         Feature cannot be found in any extension(blackberry.pim.calendar)
    

    Note that the package only will talk one at a time, so there may be additional features that should be deleted.

    For all the features that do not exist, it is best to check the BBOS API documentation to see if there is no official API to replace the functionality:

    https://developer.BlackBerry.com/BBOS/HTML5/

    If not, you can check the existing API to the Community (or create your own native extension) for the functional gaps:

    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/Smartphone

    If a specific feature cannot be found and there is no extension that you offer this feature, you simply be removed from the application.

    In addition, for any element of config.xml, it is best to check these exist against the documentation here:

    https://developer.BlackBerry.com/BBOS/HTML5/documentation/config_doc_elements.html

    There are also differences in function to keep in mind. For example, in BB10, we rely on the webworksready (1.0) and deviceready (2.0) of the events, so that those who are not applicable to the BBOS.

    Finally, the HTML5 support in 6.0 and 7.0 has been much better than in 5.0, but certainly BlackBerry 10 supports much more than previous versions of BBOS. Basically, for generic elements HTML5 and JavaScript, you should not see a whole lot of questions. But if you use more complicated API (IndexedDB, etc.) it is certainly useful to check the compatibility reference to get an idea of what can/cannot be used.

    https://developer.BlackBerry.com/BBOS/HTML5/documentation/web_references_1986046.html

    Without seeing the application, the amount of business logic and CSS that should be changed depends really. If you use something like BBUI, it is created for fits rather well at BBOS. If you use custom implementations, then he will really vary the complexity.

    The structure of the file remains the same, you still have your config.xml file to the root and your HTML code, images, etc. as of the sisters or contained in subfolders.

  • Accessing an application WebWorks built the database via a Java application

    Hi all

    My Java application needs to access a database that was created by a WebWorks built application. I see WebWorks encryption applications their databases using the code keys automatically signing. When I first tried to read the database, he said that it was encrypted as IOException: headers are encrypted. Since then, I installed the same key code in my Eclipse IDE to signature and have signed the java application with the same keys used by the WebWorks app. I always seem to get an IOException error, but this time it does not specify the exact error.

    Quite simply, I need to use the same database created in the WebWorks app in my Java application. Is it possible if I use the same code key for both signature requests? Or WebWorks uses a completely different algorithm to encrypt data in the database from Eclipse and so cannot use the same database?

    Thank you for all your help.

    Rob

    Yes, the DB is encrypted by default by using the identity of the application (code signing key and I believe in association with the name of the application)

    Thus, the type of DB of SQLite that is created from a WebWorks app is different from one created from a Java application, which can be a conflict at stake here.

    If you believe that it is a Google Gears database!

    https://github.com/BlackBerry/WebWorks/BLOB/master/framework/src/js/html5_init.js#L586

    Well Yes, to subsidize bequests to devices BBOS 5.0, which had no WebKit as web rendering engine, Gears is the 'wedge' up here.

    For the above reasons, I do not think that its going to be possible for you to achieve what you're trying with SQLite DB. To share data between applications on BBOS, you would need to use a different channel (encrypt the data and save it in the file system, or use your own remote web service + DB)

  • With the help of setControlledAccess in WebWorks

    I try to use setControlledAccess in an application WebWorks. I need to download a non-protected file and save it to an encrypted SD card. I am able to create such a file, but cannot write to it.

    I created a small JS extension (according to a tutorial) to use setControlledAccess:

    final CodeSigningKey key = CodeSigningKey.get(CodeModuleManager.getModuleHandle("xxx"), "XXX");
    if (key == null)
        // do something
    ExtendedFileConnection file = (ExtendedFileConnection)Connector.open(fileName);
    // omitted a check for file existence
    file.setControlledAccess(key);
    file.create();
    file.close();
    

    The file is created.

    Then, I'm writing in this file via PhoneGap (download through file transfer), however, which gives me a ControlledAccessException. Naturally, I signed my COD file with the above mentioned key XXX. What's wrong?

    I'm new to Blackberry and suspect that I made a mistake stupid newbie but do not see it myself, unfortunately

    I got the necessary permissions. The problem, for obscure reasons, has been in the use of Data(Output|) Input stream) instead of plain (output |) Input stream).

  • SQLite DB encryption

    I had like to know the details of encryption of a database created via webworks app. So far I've been able to learn from the separate comments in the forum just SQLite DB in Web app works is encrypted by default. I tried to open the database and I don't see that it is encrypted.

    Some of the links that point out:

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/database-problem-in-the-WebWorks...

    http://StackOverflow.com/questions/9738163/BlackBerry-attach-pre-populated-SQLite-database

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/reading-SQLite-database-created-...

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/can-a-BlackBerry-SQLite-database...

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/questions-on-JavaScript-extensio...

    I like to know are the details. Is there a well documented feature spec or the link that we can lead our customers to?

    Okay, I checked with some people and I more information now on what is the situation.

    On BBOS:

    [JAVA] In a Java application-SQLite databases are not encrypted by default, but can be encrypted.

    [WebWorks] In a WebWorks app SQLite databases are encrypted by default and there is no API to change or do anything with the encryption.

    The PlayBook/BB10:

    [WebWorks] Databases are not encrypted by default - as they exist within secure application sandbox.

    In the case of BBOS WebWorks encryption is via WebWorks - who called the BlackBerry Java SQLite API to do this. If these docs that I sent on SQLite encryption in Java apply to the WebWorks.

  • iPhone restore backup encryption bug in iTunes

    First the details of my system:

    El Capitan 10.11.6

    iPhone iOS 6 10.0.2

    iTunes 12.5.1.21

    Steps to reproduce:

    1 backup the by using the encrypted password (current running iOS 10) iPhone

    2. once the backup is complete change password encrypted from A to B

    3. restore the iPhone using the backup.

    The backup cannot be restored with A password or password B.

    I think that most people would say I forgot the password B. You would be a mistake. Password B was stored in my keychain and it wouldn't work. To check that I had the correct password, I downloaded a password free utility cracking. For some reason, these utilities are available for Windows only. I used the utility of tenorshare. Since I was sure I knew the password, I used boxes of prefix and suffix of the utility to verify that the password is correct. The utility shows you only the first 2 characters of your password once he finds her. Since I am sure that I knew the password, I put the first 7 characters of the password in the prefix box password and he assumes that the last of them (which I knew that). Then I put the first 6 characters of the password in the prefix area of password and the last character in the zone suffix and guess the second to the last character (which I knew that too). In both cases, he finds the password, which confirmed that all my characters were correct, but iTunes would not accept. At this point, I was convinced this is an Apple bug, so I googled some more and found this blog https://deciphertools.com/blog/ios-10-backup-password-incorrect/ which confirms:

    "If you recently changed your password backup in iTunes, and iTunes is now reports that 'the password was incorrect' when you try to restore this backup, then we may be able to help."

    There is a small problem affecting backups iOS 10 - sometimes changing password causes backup the password being rejected (both new and old passwords) when you try to use the backup that you did. »

    I was able to solve my problem of password associated with the procedure.

    My backup was too important to wait for a solution possible iTunes. Apple should recognize this problem and have a fix as soon as POSSIBLE.

  • Encrypted hard drive Geo

    I'm on a Mac of Sierra, and I would like to know how to encrypt disks according to the time and place. Please do not share links to complicated solutions because I probably won't be able to follow. Is there a software that can put in a variable to the AES? Any help is appreciated.

    Could provide more details on exactly what you hope to gain with geo-encryption?

  • After that the SSD has been deleted, is it too late to use encryption for more security before selling?

    My goal is to make my data inaccessible to the person who will buy my Macbook opportunity. While I'm fully aware that this is an almost impossible task to delete really an ssd, I read that if you encrypt everything before you wipe the drive and reinstall the OS, at least, the recovered data can be read.  However, I read these seemingly wise advice AFTER I had already deleted my Macbook and reinstalled the operating system.  So, the question is with my 'deleted' data and the operating system reinstalled, activation of encryption at this point will achieve my goal, or still will remain unencrypted data previously of the ' erased '?

    Thanks in advance for your answer.

    She will remain unencrypted.

    (144856)

  • encrypted backup MacBook HD unencrypted Time Capsule

    Hello

    I got an error message on my MacBook that I tried to back up a hard drive encrypted in a clear time Capsule. How can I handle this?

    What is a warning that is preventing the backup or an alert?

    If it is an alert and that you want to back up and then allow the backup

    If you do not want the backup to occur, you must turn off in Time Machine.

  • Universal Clipboard is encrypted and how the data is stored in iCloud

    Hello

    You need a deep understanding of the works of the new, universal Clipboard feature safety? The feature is nice, but do you copy your password by company store system administrator password... This password is moving all over the world and also through Apple servers... Don't make me happy.

    Who can guarantee that the communication is encrypted and the data stored in iCloud are not used for other purpose?

    Thanks and greetings

    Security and privacy - Apple Support Overview iCloud

    Although not listed here, all data transmitted to the Apple servers is encrypted in transit and on the server.

    I can't offer any advice on the question of whether your transmissions could be intercepted and decoded.

    They say they also unequivocally that they never provide encryption keys to any third party. Which has been further strengthened with their recent dealings with the FBI.

    You'll have to decide for yourself if you agree with what Apple says.

  • Mail.app: S/Mime encrypted attachments do not work under MacOS Sierra

    Hello

    I can't send or receive attachments when messages are encrypted with S/Mime since the upgrade to Sierra. Attachments sent and received on a MacOS-El-Capitan is available on El Capitan. But the same messages with attachments is more available on Sierra, as well as new messages with attachments sent from Sierra can be viewed on El Capitan or Sierra. Looks like the handling of encrypted attachments is completely screwed.

    The indication for messages with encryption and signature is still flaky and is not consistent.

    The indications for encryption and signing is a bug for years. What is interested in someone at Apple Mail.app and S/Mime? It doesn't seem a Herculean task to do things, and it is a core feature.

    Thank you

    iMac MacOS 10.12

    Mailing address:

    Version: 10.0

    Obtained from: Apple

    Last modified: 30/08/2016, 05:53

    Kind: Intel

    64-bit (Intel): Yes

    Signed by: signature, CA software, certificate authority root signing of Code Apple Apple

    Location: /Applications/Mail.app

    S/Mime, workstation is version 9.3.

    I have the same problem see my post on the import of attachments.

    Mail attachments disappeared with Sierra

  • Encrypted Apple iPhone backup password

    I don't know how to reset my password from encrypted backup! And I need help fast.

    Only if you know the password, no password, you cannot restore, period.

    There is no work around this security feature.

    You need to restore as a new, wiping all info on the iPhone, then make sure that encryption is not on when you save.

Maybe you are looking for