Hi,
Is there any way to keep secure our source code of a custom app after publishing on a customer environment?
Cheers,
Hi,
Is there any way to keep secure our source code of a custom app after publishing on a customer environment?
Cheers,
Interesting.
Would you please elaborate the ‘secure’ a bit more? The security term is so much used that it may be mean so much different in different contexts.
Hi @Saif
Well,I mean if we install a custom app to any of our customer’s environment so we’ve to install the zip file in its environment and maybe later he can access to our zip file by simply downloading the extension zip and for any further changes in our code by other agencies.
Regards,
This looks like a situation for code obfuscation, rather than security, to prevent code reuse.
One option here is to add a build step with a code minifier say using rollup
or webpack
or something similar that compiles code into the structure an app expects.
In a nutshell, you will want to build:
dist/
dist/app/
directorydist/server/server.js
filemanifest.json
to dist/manifest.json
config/*.json
to dist/config/
dist/
and run fdk pack
to generate the app package with obfuscated and minified code.The exact business need eludes me, because I can’t imagine why a client will agree to not get access to the source code for an app that you have built for them.
This topic was automatically closed after 365 days. New replies are no longer allowed.