如何有效地隐藏 /混淆代码?
我想在PyCharm中使用具有与Python相关的Python代码的Windows计算机上工作。
我想避免以后其他人可以在本地文件系统上看到我的代码(或可以从基于SSD的文件系统中恢复 /删除它)。因此,我正在寻找一种解决方案,该解决方案可以将我的Python脚本保留在本地文件系统上,但可以在Pycharm中进行可编辑 /可用。
我想到在Windows计算机上创建RAM磁盘或安装虚拟机。不幸的是,我在该计算机上没有管理权,因此我无法安装任何软件也不能创建虚拟机。
此外,我可以在该计算机上仅在读取模式下使用USB棒,但不能将文件写回该USB驱动器。
我正在寻找一个解决方案,我仍然可以在Pycharm中的该计算机上编辑Python脚本,但是该文件不应持续到文件系统。完成工作后,Python脚本应以加密方式写回文件系统。
I want to work on a Windows machine with some privacy / intellectual property related python code within Pycharm.
I want to avoid that somebody else later on can see my code on the local file system (or can recover / undelete it from the SSD based file system). Therefore I am looking for a solution that keeps my python script(s) encrypted on the local file system but editable / usable within Pycharm.
I thought of creating a RAM disk or installing a virtual machine on the Windows computer. Unfortunately, I do not have admin rights on that computer so I cannot install any software nor create virtual machines.
Additionally I can use an USB stick in read only mode on that machine, but cannot write files back to that USB drive.
I am looking for a solution where I am still able to edit a Python script on that computer within Pycharm, but this file should not be persisted to the file system. Once I have finished my work, the Python script should be written back to the file system in an encrypted way.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用在线空闲并在线保存代码。
如果您真的想要Pycharm,我会上传代码并将其从PC中删除,并在需要时再次下载。
Use an online Idle and save your code online.
If you really want pycharm I would upload the code and delete it from the pc and download again whenever I needed it.
您可以“在云中”工作,其中有一个AWS实例,您可以结帐 /克隆 /开发工作,而您只需使用
thin Client < /code>即可连接到远程实例的计算机。
You could work 'in the cloud' where you have an AWS instance that you checkout / clone /develop your work and you just use your computer essentially like a
thin client
for connecting to your remote instance.