sol15-10.vbs
来自「Apress - Managing Enterprise Systems Wit」· VBS 代码 · 共 17 行
VBS
17 行
Set objDir = GetObject("IIS://odin/W3SVC/1/ROOT/images")
'get the IPSecurity
Set objIPSecurity = objDir.IPSecurity
'allow all access to directory by default
objIPSecurity.GrantByDefault = True
'deny the address 10.5.5.1 and range of address 192.5.5.x
objIPSecurity.IPDeny = _
Array("10.5.5.1, 255.255.255.255", "192.5.5.0, 255.255.255.0")
'deny all computer from domain acme.com
objIPSecurity. DomainDeny= _
Array("acme.com")
objDir.IPSecurity = objIPSecurity
objDir.SetInfo
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?