Docker images are only FileSystem files. It does not encrypt the file and the image is not compiled. So if you ship a Docker image with your Nodejs files in it, they can be fetch.
2015-01-12 16:11 GMT+01:00 Arunoda Susiripala <[email protected]>: > If your app is a server app. Try to create a docker image and distribute > it. > > Then, make a root password only you know and allow to configure the app > via passing env vars. > > Then no one can read the source of your app. > On 2015 ජන 12, සඳුදා at ප.ව. 8.32 Buschini Edouard <[email protected]> > wrote: > >> Hi, >> >> There is http://jxcore.com/home/ >> But I haven't tested yet so I don't know much about it. >> >> 2015-01-12 15:49 GMT+01:00 Aria Stewart <[email protected]>: >> >>> >>> On Jan 12, 2015, at 5:13 AM, rahul deshpande <[email protected]> >>> wrote: >>> >>> I wanted to deploy the node js code as part of standalone installation. >>> I do not want anyone one to read my code. >>> >>> What are option available to avoid this? >>> Do I need to encrypt the code or should I turn it in to executable? >>> >>> >>> Fundamentally, you have a problem in that you can't make it impossible, >>> only hard to decode. >>> >>> If you encrypt, you hand an encrypted blob to the user, and the key to >>> decrypt it so it can run. You can make it annoying, but not actually >>> prevent decryption. >>> >>> To make an executable, the javascript is merely embedded. >>> >>> I'd ask what you're actually defending against: Some combination of >>> trivial obfuscation like uglifyjs or google closure compiler may be your >>> best bet, plus a banner on each file that reads "Copyright (C) Your Name, >>> All Rights Reserved. Distribution without license is not permitted". The >>> legal barrier to re-using parts of your software is likely the best way to >>> prevent copying. >>> >>> Now if you're trying to protect a proprietary algorithm where revealing >>> it would be disastrous to your business, things get more interesting, but >>> fundamentally has the same problems. >>> >>> Aria >>> >>> -- >>> Job board: http://jobs.nodejs.org/ >>> New group rules: >>> https://gist.github.com/othiym23/9886289#file-moderation-policy-md >>> Old group rules: >>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "nodejs" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/nodejs/C82D2531-6227-47FC-84C6-946174A968C4%40nbtsc.org >>> <https://groups.google.com/d/msgid/nodejs/C82D2531-6227-47FC-84C6-946174A968C4%40nbtsc.org?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> // Buschini Edouard :: Moon >> >> -- >> Job board: http://jobs.nodejs.org/ >> New group rules: >> https://gist.github.com/othiym23/9886289#file-moderation-policy-md >> Old group rules: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/nodejs/CAAK0_j8vLxLzM6psh6536qA5KOXJwUd4%2Btd5bFZEhYxG75y9Lw%40mail.gmail.com >> <https://groups.google.com/d/msgid/nodejs/CAAK0_j8vLxLzM6psh6536qA5KOXJwUd4%2Btd5bFZEhYxG75y9Lw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/CAJzNrTGtUXEHaWzsaQRmbCU1HZu6G%3DbqmRb1CYi2%3DUew1suPxQ%40mail.gmail.com > <https://groups.google.com/d/msgid/nodejs/CAJzNrTGtUXEHaWzsaQRmbCU1HZu6G%3DbqmRb1CYi2%3DUew1suPxQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- // Buschini Edouard :: Moon -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAAK0_j_n3Hh_ydPWS00Tkg-ynwn5UeoYG%3DQpF1-CxWEVo4x8KA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
