> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/porters-handbook/di-12-zhang-an-quan/12.1.-wei-he-an-quan-ru-ci-zhong-yao.md).

# 12.1.安全为何如此重要

软件中偶尔会引入 bug。可以说，其中最危险的是那些会引发安全漏洞的 bug。从技术角度来看，这类漏洞需要通过消除导致它们的 bug 来关闭。然而，处理普通 bug 和安全漏洞的政策是非常不同的。

一个典型的小 bug 只影响那些启用了某些选项组合的用户，这些选项触发了该 bug。开发者最终会发布一个修复补丁，然后发布一个新的软件版本，修复了该 bug，但大多数用户不会立即升级，因为该 bug 从未困扰过他们。一个可能导致数据丢失的严重 bug 代表了更严重的问题。然而，谨慎的用户知道，除了软件 bug，很多可能的事故也有可能导致数据丢失，因此他们会备份重要数据；此外，严重 bug 很快就会被发现。

安全漏洞则完全不同。首先，它可能多年未被发现，因为它通常不会导致软件故障。其次，恶意方可以利用它获得对易受攻击系统的未经授权的访问，销毁或更改敏感数据；在最坏的情况下，用户甚至不会注意到造成的损害。第三，暴露易受攻击的系统通常会帮助攻击者入侵其他本来无法突破的系统。因此，仅修复漏洞是不够的：需要以最清晰、最全面的方式通知受众，让他们评估风险并采取适当的行动。


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/porters-handbook/di-12-zhang-an-quan/12.1.-wei-he-an-quan-ru-ci-zhong-yao.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
