New Extension for Plesk. Antivirus Protection to enhance your server security. Why choose Flex Antivirus?
Complete reference of all functions and properties available in the Firewall Manager COM object. Compatible with PHP, ASP, and .NET.
All functions are invoked on an instance of the FlexFirewallManager.Admin COM object. Remember to always set Username and Password before calling any function.
Provides information about the installed version of the extension and the server's operating system data.
Returns whether the given IP has the correct format and whether it is IPv4 or IPv6.
Finds the IP address in the Firewall and indicates which rule it is currently blocked in.
Shows detailed information about the IP such as Country, Provider (ISP), and ASN code.
Shows the current reputation and risk score of the IP address by checking international blacklists.
Indicates the current status of the Windows Firewall on the server: active, inactive, or with errors.
Unblocks the given IP address by removing it from the Windows Firewall and Plesk rules. Returns true or false.
Blocks the given IP address by adding it to the Windows Firewall and Plesk rules. Returns true or false.
Connects to the Cloudflare account using the provided email and API Key to synchronize blocks.
Plesk domain user with access to the extension. Required before calling any function.
Plesk domain password. Required before calling any function.
Format of the response returned by the functions. Possible values: json or xml. Default: xml.
Response language for messages. Possible values: ES, EN, FR, etc.
Selects the Cloudflare domain account to operate on after connecting with CloudFlareLogin().
Basic example that instantiates the COM object, sets the properties, and calls the Version() function to get system information.
// Create COM object instance
$app = new COM("FlexFirewallManager.Admin");
// Set properties
$app->FormatOutput = "JSON";
$app->LangOutput = "EN";
$app->Username = "Plesk Domain User";
$app->Password = "Plesk Domain Password";
// Call a function
echo $app->Version();