Hi, all, Thanks for answers. I just feel docker should support the feature to hide all details inside the container and just expose a port. I know I can compile to python code from .py to .pyc. But the python byte code is not that difficult to reverse engineering.
Thanks, Tom On Thu, Nov 8, 2018 at 7:57 PM Jason Normand <j...@lentecs.com> wrote: > one other thing is if you if you are providing a container or vm you could > precompile all or some of the python. > > On Thu, Nov 8, 2018 at 10:05 AM Rich Pieri <richard.pi...@gmail.com> > wrote: > > > On Thu, 8 Nov 2018 02:34:42 -0500 > > Tom Luo <mario...@gmail.com> wrote: > > > > > Basically, what I need is to provide a port for customers to access > > > the service. At the same time, I don't want customers to see my code. > > > > > > What should I do? Any ideas? > > > > The Docker host can see everything in the container. The customer > > controls the Docker host. Therefore the customer can see everything in > > the container. Likewise the VirtualBox host once the encrypted VM is > > unlocked. Likewise every other deployment where the customer controls > > the deployment target. > > > > Solution: If you don't want your customers to see the source code > > then don't ship source code. > > > > -- > > Rich Pieri > > _______________________________________________ > > Discuss mailing list > > Discuss@blu.org > > http://lists.blu.org/mailman/listinfo/discuss > > > _______________________________________________ > Discuss mailing list > Discuss@blu.org > http://lists.blu.org/mailman/listinfo/discuss > _______________________________________________ Discuss mailing list Discuss@blu.org http://lists.blu.org/mailman/listinfo/discuss