麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 數據庫 > SQL Server > 正文

限制SQL Server只能讓指定的機器連接

2024-08-31 01:05:33
字體:
來源:轉載
供稿:網友

A. SQL Server has no built-in tools/facilities to do this. It also does not have the facility to run a stored-procedure on connection that could be written/used to do this. Therefore you have the following choices :-

SQL Server沒有這樣的功能,也沒有提供在連接時執行某一特定過程的功能。這里介紹幾種實現的方法

1. Put the SQL Server behind a firewall and use that to restrict access. This is the most secure and functional way to do what you want.

使用防火墻,它提供了安全和你想用的工具。

2. Write your own ODS Gateway and point the clients at that instead of the SQL Server - the ODS Gateway will then do the checking. However, there is nothing stopping clients figuring out the correct SQL client-config entries to point straight at the SQL Server. There are examples of ODS code in the SQL Programmers Toolkit - available for free download from the MS website.

寫自己的ODS網關代替SQL Server的客戶端 - 在ODS網關中檢查。不過,這并不能停止正常的客戶端連接SQL Server。在SQL Programmers Toolkit中有一個這樣的例, 可以從微軟站點免費下載。

3. Write a constantly running/scheduled stored-procedure that checks the relevant column in sysprocesses (net_address), and then issues a KILL command for any processes that should not be running. Note that this only works for MAC addresses. This way allows people to connect and possibly make changes before they are spotted and killed.

寫一個存儲過程檢查sysprocesses中的相應列(net_address)

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 一本色道久久99精品综合蜜臀 | 看片一区二区三区 | www.91成人| 一级黄色在线免费观看 | 成人在线视频免费播放 | 91短视频免费 | 99在线精品视频免费观看20 | 国产性tv国产精品 | 女人久久久www免费人成看片 | 亚洲精品一区二区三区大胸 | 亚洲精品91 | 国产精品成人久久久久a级 欧美特黄一级高清免费的香蕉 | 成年人免费视频大全 | 久久久久久麻豆 | 嗯~啊~弄嗯~啊h高潮视频 | 亚洲欧美日韩中文在线 | av在线久草 | 黄视频免费在线观看 | 国产精品久久久久一区二区 | 九九热这里只有精品8 | 红桃一区| 日本特级a一片免费观看 | 91午夜少妇三级全黄 | 欧美日韩在线影院 | 国产手机国产手机在线 | 亚洲精品久久久久www | 欧美在线观看视频一区二区 | 国产亚洲精品综合一区 | 美女福利视频国产 | 久久久aa | 成人爽a毛片免费啪啪红桃视频 | 日韩精品久久久久久久九岛 | 一级免费 | 成人在线观看免费视频 | 久久久三级免费电影 | 最新一区二区三区 | 国产一区精品在线观看 | 欧美a∨亚洲欧美亚洲 | 黑人日比视频 | 久久精品一区二区三区国产主播 | 一区小视频 |