JingFu
If this feature are target to Crosswalk-8 , Pls update the fix version of the 
related JIRA feature to Crosswalk-8
https://crosswalk-project.org/jira/browse/XWALK-1491
https://crosswalk-project.org/jira/browse/XWALK-1172

So QA will not miss the verification for this feature.

From: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] 
On Behalf Of Ye, Jingfu
Sent: Friday, July 4, 2014 4:00 PM
To: crosswalk-dev@lists.crosswalk-project.org
Subject: [Crosswalk-dev] Intent to Implement - Tizen Web Application Protection

Summary
For Web Applications that explicitly turn on the "encryption" through the 
<tizen:setting/> element in the configuration file, the WRT MUST provide the 
following two measures to protect Web Application resources:

-          The WRT MUST encrypt the HTML, JS and CSS files of the Web 
Application stored by the device.

-          When the Web Application is being run, the WRT MUST decrypt the 
encrypted resources(HTML, JS and CSS) in the manner transparent to the 
application.

Spec
Reference to the Tizen 2.x 
spec(https://source.tizen.org/sites/default/files/page/tizen-2.2-wrt-core-spec.pdf).

Affected Components
xwalk installer; xwalk applicaiton

Related feature in JIRA
https://crosswalk-project.org/jira/browse/XWALK-1491
https://crosswalk-project.org/jira/browse/XWALK-1172

Target release
Crosswalk 8

Target Platform
Crosswalk on Tizen

Implementation details

1.       At installation stage, if the "encryption" is turned on, encrypt the 
HTML, JS and CSS files when unzipping resource from the application package. 
The file path and name keep unchanged.

2.       At the application running stage, if an encrypted resource is 
requested, start an asynchronous URLRequestJob task to load the encrypted 
resource and decrypted it. The decrypted stream is returned to render process.


Thanks,
Jingfu
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to