> For the complete documentation index, see [llms.txt](https://docs.parallels.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.cn/pdfm-27-ug-zh_cn/parallels-desktop-for-mac-27-yong-hu-zhi-nan/zai-mac-shang-shi-yong-windows/bao-hu-nin-de-shu-ju.md).

# 保护您的数据

您的 Mac 上可能存有重要的文件、照片等内容。在 Mac 上运行 Windows 时，保护数据免受病毒侵害和未经授权的使用尤为重要。请阅读本节，了解如何确保安全。

{% hint style="warning" %}
**注意**：在 Parallels Desktop for Mac 27 中，“安全”选项卡已从 [Parallels Desktop ](https://docs.parallels.cn/pdfm-27-ug-zh_cn/parallels-desktop-for-mac-27-yong-hu-zhi-nan/parallels-desktop-pian-hao-she-zhi-he-xu-ni-ji-she-zhi/parallels-desktop-pian-hao-she-zhi.md)的偏好设置中移除，该选项卡此前包含许多通过密码保护各种虚拟机操作的选项。

这一变化体现了向集中化、由 IT 部门管理的安全策略执行模式的有意转变。组织不再需要让每个用户在本地自行设置限制，而是可以通过单一平台，在所有受管理的 Mac 电脑上应用并执行统一的安全策略。

如果您管理着一批 Mac 电脑，**Parallels Desktop for Mac 企业版**提供了此项控制功能，管理员可通过企业管理门户远程配置共享文件夹访问权限、剪贴板方向、USB 访问权限、网络模式以及其他限制。
{% endhint %}

在应用本指南本节中的功能之前，请先考虑在您的 Mac 上采取一些常见的防护措施：

### 如果您是这台 Mac 上的唯一用户

保护虚拟机最有效的方法，就是保护 macOS 账户本身的访问权限。

* \*\*请设置一个强密码作为 macOS 登录密码。\*\*您的虚拟机以文件形式存储在 Mac 上。如果您的 macOS 账户被锁定，其他人将无法访问这些文件。
* **启用 FileVault。FileVault 会对您的整个 Mac 启动磁盘进行加密，因此即使有人访问了物理机，您的虚拟机文件也能得到保护。您可以在系统设置**>**隐私与安全**>**FileVault**中启用该功能。Apple 在此处提供了[关于 FileVault 的完整指南](https://support.apple.com/zh-cn/guide/mac-help/mh11785/mac)。
* **启用屏幕锁定。将 Mac 设置为在短时间无操作后自动锁定：前往系统设置**>**屏幕锁定**，并在**屏幕保护程序开始或屏幕关闭后要求输入密码**选项中选择较短的时间间隔。

### 如果您的 Mac 与其他用户共用

这是最需要正确处理的情况。**建议的做法是为每个人分配一个独立的 macOS 用户账户。**

当每个用户都有独立的 macOS 账户时，他们无法访问属于其他账户的文件、应用程序或虚拟机。这是 macOS 原生支持的多用户安全模型，且与 Parallels Desktop 配合良好。要设置额外的 macOS 用户账户，请按照 Apple 的官方指南操作[：在 Mac 上添加用户或组](https://support.apple.com/zh-cn/guide/mac-help/mchl3e281fc9/mac)。

一旦每个人都拥有了自己的账户，Parallels Desktop 以及您的虚拟机将保留在您的账户中，其他用户无法看到或访问它们。

### 针对所有用户的其他建议

* \*\*请确保 macOS 和 Parallels Desktop 始终保持最新。\*\*macOS 和 Parallels Desktop 中的安全补丁均通过定期更新发布。运行最新版本是 simplest and most effective 保护措施之一。
* \*\*请勿通过未受保护的通道共享您的 VM 文件。\*\*您的 VM 是一个磁盘上的文件夹（`.pvm`）。请将其视为任何敏感文件：不要将其存储在公开共享的文件夹中，也不要以未加密的形式发送。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.cn/pdfm-27-ug-zh_cn/parallels-desktop-for-mac-27-yong-hu-zhi-nan/zai-mac-shang-shi-yong-windows/bao-hu-nin-de-shu-ju.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
