Windows 資源保護
目的
Windows 資源保護 (WRP) 可防止取代安裝為作系統一部分的基本系統檔案、資料夾和登入機碼。 它從 Windows Server 2008 和 Windows Vista 開始可供使用。 應用程式不應該覆寫這些資源,因為它們是由系統和其他應用程式使用。 保護這些資源可防止應用程式和作系統失敗。 WRP 是 Windows 檔案保護的新名稱(WFP)。 WRP 會保護登錄機碼和資料夾,以及基本的系統檔案。
適用時
所有在 Windows Server 2008 或 Windows Vista 及更新版本的作系統上執行的 Windows 應用程式及其安裝程式,都應該注意 WRP。 在 Microsoft windows Server 2003 或 Windows XP 及其安裝程式上執行的所有 Windows 型應用程式,都應該注意 WFP。
開發人員物件
WRP API 是專為 C/C++ 程式設計人員所設計。 WRP API 有兩個函式:SfcIsFileProtected 和 SfcIsKeyProtected。
運行時間需求
只使用 SfcIsFileProtected 函式的應用程式需要 Windows Server 2008、Windows Vista、Windows Server 2003 或 Windows XP。 使用 SfcIsKeyProtected 函式的應用程式需要 Windows Server 2008 或 Windows Vista。
在本節中
主題 | 描述 |
---|---|
關於 Windows 資源保護 的 |
WRP 的一般資訊。 |
Windows 資源保護參考 |
WRP 的參考檔。 |