濮阳杆衣贸易有限公司

主頁 > 知識庫 > SQL Server 2005的cmd_shell組件的開啟方法

SQL Server 2005的cmd_shell組件的開啟方法

熱門標(biāo)簽:滄州營銷外呼系統(tǒng)軟件 創(chuàng)業(yè)電銷機(jī)器人 浙江地圖標(biāo)注 沈陽智能外呼系統(tǒng)代理 九鹿林外呼系統(tǒng)怎么收費 海南自動外呼系統(tǒng)價格 松原導(dǎo)航地圖標(biāo)注 電銷機(jī)器人虛擬號碼 舞鋼市地圖標(biāo)注app

SQL Server中的cmd_shell組件功能強(qiáng)大,幾乎可通過該組建實現(xiàn)Windows系統(tǒng)的所有功能,正因此,這個組件也是SQL Server的最大安全隱患。SQL Server 2000中這個組件是默認(rèn)開啟的,而SQL Server 2005中這個組件默認(rèn)作為此服務(wù)器安全配置的一部分而被關(guān)閉。有時我們需要用到該組件,開啟此組件的相關(guān)語句如下:

復(fù)制代碼 代碼如下:

--To allow advanced options to be changed.

EXEC sp_configure 'show advanced options', 1
GO

--To update the currently configured value for advanced options.
RECONFIGURE
GO -- To enable the feature.

EXEC sp_configure 'xp_cmdshell', 1
GO
--To update the currently configured value for this feature.
RECONFIGURE
GO


為了保證數(shù)據(jù)庫服務(wù)器的安全,建議在使用完畢后關(guān)閉該組件,關(guān)閉該組件的相關(guān)語句如下:

復(fù)制代碼 代碼如下:

--To allow advanced options to be changed.

EXEC sp_configure 'show advanced options', 1
GO

--To update the currently configured value for advanced options.
RECONFIGURE
GO -- To enable the feature.

EXEC sp_configure 'xp_cmdshell', 0
GO
--To update the currently configured value for this feature.
RECONFIGURE
GO

標(biāo)簽:咸寧 臺灣 寶雞 商洛 ???/a> 公主嶺 日喀則 西藏

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《SQL Server 2005的cmd_shell組件的開啟方法》,本文關(guān)鍵詞  SQL,Server,2005,的,cmd,shell,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《SQL Server 2005的cmd_shell組件的開啟方法》相關(guān)的同類信息!
  • 本頁收集關(guān)于SQL Server 2005的cmd_shell組件的開啟方法的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    沁阳市| 女性| 弥勒县| 古田县| 阿尔山市| 商河县| 包头市| 长阳| 上杭县| 苏尼特右旗| 定西市| 永嘉县| 仁寿县| 新余市| 绥阳县| 兴隆县| 瑞金市| 岑溪市| 崇礼县| 怀安县| 平泉县| 阳原县| 康保县| 游戏| 织金县| 理塘县| 八宿县| 咸丰县| 苏尼特左旗| 穆棱市| 呼伦贝尔市| 道真| 安徽省| 镇赉县| 措美县| 巨野县| 建水县| 分宜县| 梅州市| 南皮县| 同江市|