ibm-mobilefirstworklight-adaptersworklight-security

IBM Worklight encrypt and compact


The Worklight provides a way to encrypt the data on the Worklight Server in adapter, compress and send to the client? Or do I need encryption manually?


Solution

    1. Using HTTPS in Worklight Adapters: How to implement HTTPS Adapter by IBM Worklight?

    2. Using compressResponse in Worklight Adapters.
      Search for "gzip" in the page.

      Basically, in your invokeProcedure:

      {
      adapter : 'adapter-name',
      procedure : 'procedure-name',
      parameters : [],
      compressResponse : true/false
      

      }