2braincells2go / phpdesktop

PHP Desktop
0 stars 0 forks source link

Compile javascript to native code #90

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is it currently possible with CEF? If not, would it be hard to create a patch 
for CEF?

There is Issue 18 "Encrypt and embed static resources (js/css/images) in the 
phpdesktop executable". But this doesn't give you a real protection, any hacker 
can still find a way to see your javascript sources.

PHP sources can already be protected using PHP encoders, so this issue is only 
about javascript code.

See the "Protect JavaScript source code with v8 snapshot" wiki page in 
node-webkit:

  https://github.com/rogerwang/node-webkit/wiki/Protect-JavaScript-source-code-with-v8-snapshot

Original issue reported on code.google.com by czarek.t...@gmail.com on 16 Feb 2014 at 4:24

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 21 Oct 2014 at 10:38