章 15. 強制存取控制 (MAC)
前一頁 | 部 III. 系統管理 | 下一頁

## 章 15. 強制存取控制 (MAC)

Written by Tom Rhodes.

## 15.1. 概述

FreeBSD supports security extensions based on the POSIX®.1e draft. These security mechanisms include file system Access Control Lists (節 13.9, “存取控制清單”) and Mandatory Access Control (MAC). MAC allows access control modules to be loaded in order to implement security policies. Some modules provide protections for a narrow subset of the system, hardening a particular service. Others provide comprehensive labeled security across all subjects and objects. The mandatory part of the definition indicates that enforcement of controls is performed by administrators and the operating system. This is in contrast to the default security mechanism of Discretionary Access Control (DAC) where enforcement is left to the discretion of users.

This chapter focuses on the MAC framework and the set of pluggable security policy modules FreeBSD provides for enabling various security mechanisms.

讀完這章，您將了解︰

- The terminology associated with the MAC framework.

- The capabilities of MAC security policy modules as well as the difference between a labeled and non-labeled policy.

- The considerations to take into account before configuring a system to use the MAC framework.

- Which MAC security policy modules are included in FreeBSD and how to configure them.

- How to implement a more secure environment using the MAC framework.

- How to test the MAC configuration to ensure the framework has been properly implemented.

在開始閱讀這章之前，您需要︰

- 了解 UNIX® 及 FreeBSD 基礎 (章 3, FreeBSD 基礎)。

- Have some familiarity with security and how it pertains to FreeBSD (章 13, 安全性).

### 警告:

Improper MAC configuration may cause loss of system access, aggravation of users, or inability to access the features provided by Xorg. More importantly, MAC should not be relied upon to completely secure a system. The MAC framework only augments an existing security policy. Without sound security practices and regular security checks, the system will never be completely secure.

The examples contained within this chapter are for demonstration purposes and the example settings should not be implemented on a production system. Implementing any security policy takes a good deal of understanding, proper design, and thorough testing.

While this chapter covers a broad range of security issues relating to the MAC framework, the development of new MAC security policy modules will not be covered. A number of security policy modules included with the MAC framework have specific characteristics which are provided for both testing and new module development. Refer to mac_test(4), mac_stub(4) and mac_none(4) for more information on these security policy modules and the various mechanisms they provide.

前一頁 | 上一層 | 下一頁
14.6. 使用 ezjail 管理 Jail | 起始頁 | 15.2. 關鍵詞

本文及其他文件，可由此下載： ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/。

若有 FreeBSD 方面疑問，請先閱讀 FreeBSD 相關文件，如不能解決的話，再洽詢 <questions@FreeBSD.org>。
關於本文件的問題，請洽詢 <doc@FreeBSD.org>。