我相信我只是做了這個錯誤,但對於我的生活,我無法讓事情發揮得很好。我剛剛開始在WS2008 X64 VM上安裝和配置CruiseControl.net。安裝似乎有點有趣,因爲它沒有爲儀表板創建一個IIS站點,我最終只是做了我自己,並指出它:ccnet webdashboard身份驗證表單模式如何設置它的安全
C:\ Program Files文件(x86)\ CruiseControl.NET \ webdashboard
(必須添加iis_iusrs的權限來處理配置文件,不知道實際上有多好)。
無論如何,所以我現在可以查看網絡儀表板並進入管理部分等。最終,我希望此網站可以在線訪問,以方便團隊使用,因此需要鎖定和保護。所以爲此我把下面的章節上的Web.config:
<authentication mode="Forms">
<forms name="appNameAuth" path="/" loginUrl="server/local/SimpleUserLogin.aspx" protection="All" timeout="30">
<credentials passwordFormat="Clear">
<user name="jon" password="test" />
<user name="mike" password="test" />
</credentials>
</forms>
</authentication>
如果我把下面的章節中,我可以去登錄屏幕,但即使是在我登錄,可以將永遠被送回它從來沒有看到任何其他網頁:
<authorization>
<deny users="?" />
</authorization>
我也有這個system.web節之外:
<location path="server/local/SimpleUserLogin.aspx">
<system.web>
<authorization>
<allow users ="*" />
</authorization>
</system.web>
</location>
我的目標是將所有非登錄用戶的登錄頁面,沒有別的地方,一旦登錄他們可以查看任何頁面。我在這裏是一個保險人嗎?
謝謝