this connector is disabled錯誤的解決方法
更新時間:2008年11月15日 13:22:32 作者:
打開editor/filemanager/connectors/aspx/config.ascx修改CheckAuthentication()方法,返回true
復(fù)制代碼 代碼如下:
private bool CheckAuthentication()
{
// WARNING : DO NOT simply return "true". By doing so, you are allowing
// "anyone" to upload and list the files in your server. You must implement
// some kind of session validation here. Even something very simple as...
//
// return ( Session[ "IsAuthorized" ] != null && (bool)Session[ "IsAuthorized" ] == true );
//
// ... where Session[ "IsAuthorized" ] is set to "true" as soon as the
// user logs in your system.
return true;
}
相關(guān)文章
Visual Studio Debug實(shí)戰(zhàn)教程之?dāng)帱c(diǎn)操作
眾所周知斷點(diǎn)對于Visual Studio調(diào)試過程是十分重要的,斷點(diǎn)的設(shè)置也是為了更好的進(jìn)行調(diào)試。下面這篇文章主要給大家介紹了關(guān)于Visual Studio Debug實(shí)戰(zhàn)教程之?dāng)帱c(diǎn)操作的相關(guān)資料,需要的朋友可以參考下2018-09-09
asp.net UrlReWriter使用經(jīng)驗小結(jié)
UrlRewriter 是微軟封裝好了的一個URL重寫組件。使用它可以讓我節(jié)約很多自已開發(fā)的時間。 好了,開始講述我的應(yīng)用經(jīng)驗,這只是很菜鳥的經(jīng)驗,高手就不用看了。2008-11-11
ASP.NET實(shí)現(xiàn)按拼音碼模糊查詢的方法
我們在做數(shù)據(jù)錄入或者查詢的時候,經(jīng)常需要實(shí)現(xiàn)按用戶輸入的拼音碼進(jìn)行數(shù)據(jù)的模糊查詢功能,本文為大家介紹ASP.NET如何實(shí)現(xiàn)按拼音碼模糊查詢,需要的朋友可以參考下2015-09-09
一個伴隨ASP.NET從1.0到4.0的OutputCache Bug介紹
一個伴隨ASP.NET從1.0到4.0的OutputCache Bug介紹,學(xué)習(xí).net的朋友可以參考下。2011-11-11
asp.net Reporting Service在Web Application中的應(yīng)用
由于我們這個項目中使用微軟的報表服務(wù)(Reporting Services)作為報表輸出工具,本人也對它進(jìn)行一點(diǎn)點(diǎn)研究,雖沒有入木三分,但這點(diǎn)知識至少可以在大部分Reporting Service的場景中應(yīng)用。2008-11-11

