简体   繁体   English

如何在任何操作系统中保护我的应用程序数据?

[英]How to protect my application data in any operating system?

I have an application which generates few files and get stored locally on the system. 我有一个生成少量文件并存储在系统本地的应用程序。 I need to protect that generated files from getting deleted by any user in the system. 我需要防止该生成的文件被系统中的任何用户删除。 By setting the permission to that particular folder containing files, still I cannot stop Admin from deleting the files. 通过将权限设置为包含文件的特定文件夹,我仍然无法阻止Admin删除文件。 Is there any way to achieve this in Windows/Mac/Linux. 在Windows / Mac / Linux中有什么方法可以实现这一目标。

No, there is no practical way to prevent someone with sufficient credentials from deleting the file. 不可以,没有实用的方法可以防止具有足够凭据的人删除文件。 You can make it difficult, but you can't make it impossible unless you patch the OS and/or firmware yourself. 您可能会遇到困难,但除非您自己修补操作系统和/或固件,否则就不可能做到这一点。 And without trying to sound too condescending, is the type of thing where if you have to ask how to do it, you won't be able to do it. 而且,如果您不想问得太自负,那是一种事情,如果您不得不问如何做,那么您将无法做到。

This is as it should be: the user owns the computer, you don't. 这是应该的:用户拥有计算机,而您没有。 They should have complete control over it. 他们应该完全控制它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将 VLC 发送到我的操作系统相关 VLCJ 应用程序中? - How do I ship VLC into my Operating System Dependent VLCJ Application? 如何在我的操作系统上设置点网 6 sdk - how do I setup the dot net 6 sdk on my operating system 如何在没有操作系统中介的情况下访问我的系统资源? - how can i access my system resources without the operating system intermediation? 为什么 Rsync 会覆盖我的操作系统? - Why did Rsync overwrite my operating system? 如何在Linux操作系统重启时执行脚本功能 - How can I execute my script function on the Linux Operating system restart 使用其他人的应用程序代码时,我需要运行Cmake以获得操作系统的项目结构。 - When using someone else's application code do I need to run Cmake to get the project structure for my operating system. bash如何将命令获取到操作系统中? - How does bash get commands into the operating system? 如何在Linux客户操作系统中输入符号(@) - how to type at sign (@) in Linux guest operating system fork()进程如何工作(操作系统) - how fork() process works (operating system) 如何使用操作系统的信号来延迟代码 - how to use signals of operating system to delay a code
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM