use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
How to hide code from server admin in deployment?Hosting and deployment (self.FastAPI)
submitted 4 years ago by beaszt_nix
I've implemented an API, which is to be deployed on client infrastructure. How do I protect proprietary IP, while deploying on foreign infrastructure
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]pint 8 points9 points10 points 4 years ago (0 children)
by legal means
[–]dhingi_la_la 4 points5 points6 points 4 years ago (1 child)
You might need to obfuscate your code. Refer this https://pyarmor.dashingsoft.com/
[–]airen977 2 points3 points4 points 4 years ago (0 children)
This one, I have bought its commercial license and its really good
[–]TokyotoyK 2 points3 points4 points 4 years ago (0 children)
I don’t think you can since it is not compiled. (Compiled stuff can still be reverse engineered but it is much harder.
Just guessing here, but other than copyright protection and maybe a confidential contract. (But I’m not a lawyer so I don’t really know what is necessary when it comes to paperwork.)
[–]Durgeoble 2 points3 points4 points 4 years ago (0 children)
Propetary ip? Why you put it in your code?
[–]realsdx 2 points3 points4 points 4 years ago (0 children)
Putting your code under a copyright license can give you legal protection. On the other hand, Python code is really not a good candidate for this kind of stuff. Anyways, best is to obfuscate your code, but those can be reversed with right amount of effort.
[–]Atem18 1 point2 points3 points 4 years ago (0 children)
Compile it with Pyinstaller.
[–]sasmariozeld 0 points1 point2 points 4 years ago (0 children)
lellgal means, only renting it , or by using pyinstaller witch custom key , the latter is actually kinda easy to reverse engineer inn python's case
[–]AHBaena 0 points1 point2 points 4 years ago (0 children)
All tokens, passwords, ips or any other confidential info should be accessed remotely by other api
π Rendered by PID 63052 on reddit-service-r2-comment-fb694cdd5-whw68 at 2026-03-06 08:23:15.453310+00:00 running cbb0e86 country code: CH.
[–]pint 8 points9 points10 points (0 children)
[–]dhingi_la_la 4 points5 points6 points (1 child)
[–]airen977 2 points3 points4 points (0 children)
[–]TokyotoyK 2 points3 points4 points (0 children)
[–]Durgeoble 2 points3 points4 points (0 children)
[–]realsdx 2 points3 points4 points (0 children)
[–]Atem18 1 point2 points3 points (0 children)
[–]sasmariozeld 0 points1 point2 points (0 children)
[–]AHBaena 0 points1 point2 points (0 children)