The ICIManualIPAccessRule interface represents an IP address access rule that was added manually.
rules = oServer.GetIPAccessRules()
For Each key In rules
If key.type = 0 Then
WScript.echo "AutoBan"
End if
If key.type = 1 Then
WScript.echo "Manual " + key.address
WScript.echo "Added " + key.added
WScript.echo "Allow " + key.allow
End if
Next
Members |
How it's used |
Applicable Version |
Property Allow As Boolean (read-only) |
Retrieve whether the IP rule is a permission or ban. HRESULT Allow( [out, retval] VARIANT_BOOL* pbAllow); |
EFT Server v6.3.0 and later |
Property Address As String (read-only) |
Retrieve the IP address. HRESULT Address( [out, retval] BSTR* pbzAddress); |
EFT Server v6.3.0 and later |
Property Added As Date (read-only) |
Retrieve the date when rule was added. HRESULT Added( [out, retval] DATE* pdAdded); |
EFT Server v6.3.0 and later |
Property type As IPAccessRuleType (read-only) |
Retrieve the type of the rule. HRESULT type( [out, retval] IPAccessRuleType* pVal); |
EFT Server v6.3.0 and later |
ICIAutobanIPAccessRule - Provides the Autoban IP access rule BannedIPs property
ICIBannedIP - Represents an entry in an IP address autoban list
AddIPAccessRule - Adds allowed (true) or denied (false) IP mask for the client
GetIPAccessRules - Retrieves an array of client/template IP Access rules
GetLimitAccessByIP - Determines if the IP Access Restriction List is enabled on the Settings Template or user account
IPAccessAllowedDefault - Set or retrieve whether user or Settings Template IP access settings allow or deny access by default (if no rule match)
MoveIPAccessRule - Change allowed IP access rule position
ICIIPAccessRule - The base interface for IP address access rules
AddIPAccessRule - Adds allowed or denied IP mask for administration
GetAdminIPs - Retrieve an array of IP addresses for the computer on which the Server is running
GetIPAccessRules - Retrieve an array of administration IP address access rules
GetLocalIP - Given an index, retrieves a Local IP address
IPAccessAllowedDefault - Retrieve or specify the default IP Access restriction list
ListenIP - Retrieve or specify the server's IP address
ListenIPs - Retrieve or specify the IP addresses on which the server listens
MoveIPAccessRule - Change allowed administration IP access rule position.
RemoveIPAccessRule - Remove allowed or denied IP mask for administration
UnbanIP - Remove denied IP mask from Autoban list for administration
AddIPAccessRule - Adds allowed or denied IP mask for the Site
AutoBanIPsPermanently - Retrieve or specify whether to automatically ban IP addresses permanently
BanIPForInvalidLoginAttempts - Retrieve or specify whether to ban an IP address after excessive invalid login attempts with existing username and wrong password.
BanIPForInvalidLoginAttemptsWithExistingUsername - When banning an IP address for invalid login attempts, specify whether to count incorrect username and correct username + incorrect password or only incorrect username attempts.
BanIPOnDOS - Retrieve or specify whether to ban an IP address after excessive invalid commands
GetIP - Retrieves the index of the Site Listen IP
GetIPAccessRules - Retrieves an array of allowed IP masks.
IPAccessAllowedDefault - Retrieve or specify whether IP access is allowed by default
ListenIPs - Retrieve or specify the IP addresses on which the Site listens
MoveIPAccessRule - Change allowed or denied IP mask position for the Site
RemoveIPAccessRule - Remove allowed or denied IP mask for the Site
SetIP - Changes the index of Listen IP
UnbanIP - Removes denied IP mask from the Autoban list for the Site
IPAccessRuleType enum