Sun Java System Web Proxy Server 4.0.8 管理指南

為基於摘要式認證的目錄服務建立 ACL

檔案認證資料庫也支援適於和摘要式認證一起使用的檔案格式 (根據 RFC 2617)。此舉會儲存基於密碼和範圍產生的雜湊。不會維護明文密碼。

Procedure為基於摘要式認證的目錄服務建立 ACL

  1. 存取伺服器實例的 Server Manager。

  2. 在 [Preferences] 標籤上,按一下 [Administer Access Control] 連結。

  3. 從下拉式清單選取 ACL 檔案,然後按一下 [Edit]。

  4. 在 [Access Control Rules For] 頁面,按一下要編輯之 ACL 的 [Users/Groups] 連結。

    [User/Group] 頁面會顯示在下方框架中。

  5. 在 [Authentication Database] 下的下拉式清單中,指定摘要資料庫。

  6. 按一下 [Update],再按一下 [Submit] 以儲存變更。

    當您依據摘要式認證型檔案認證資料庫設定 ACL 時,將使用相應的 ACL 項目更新 dbswitch.conf 檔案,例如以下所提供的範例項目。


    version 3.0;acl "default";authenticate (user) {prompt = "filerealm";
    database = "mydigestfile";method = "digest";}; deny (all) user = "anyone";
    allow (all) user = "all";