檔案認證資料庫也支援適於和摘要式認證一起使用的檔案格式 (根據 RFC 2617)。此舉會儲存基於密碼和範圍產生的雜湊。不會維護明文密碼。
存取伺服器實例的 Server Manager。
在 [Preferences] 標籤上,按一下 [Administer Access Control] 連結。
從下拉式清單選取 ACL 檔案,然後按一下 [Edit]。
在 [Access Control Rules For] 頁面,按一下要編輯之 ACL 的 [Users/Groups] 連結。
[User/Group] 頁面會顯示在下方框架中。
在 [Authentication Database] 下的下拉式清單中,指定摘要資料庫。
按一下 [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"; |