⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 page659.vbs

📁 Apress - Managing Enterprise Systems With The Windows Script Host Source Code
💻 VBS
字号:
Set objDir = GetObject("IIS://odin/W3SVC/1/ROOT/images")

'get the IPSecurity
Set objIPSecurity = objDir.IPSecurity

'deny all access to directory  by default
objIPSecurity.GrantByDefault = False

'grant the address 10.5.5.1 and range of address 192.5.5.1 to 192.5.5.254
objIPSecurity.IPGrant = _
             Array("10.5.5.1, 255.255.255.255", "192.5.5.0, 255.255.255.0")

'grant all computers from domain acme.com
objIPSecurity.DomainGrant = _
         Array("acme.com")

objDir.IPSecurity = objIPSecurity
objDir.SetInfo

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -