The ipaccess Smarty function has been developed for pages in Deployteq. This function allows you to put IP addresses/ranges on a whitelist or blacklist. In essence, you can specify which IP addresses are allowed to access the page and which are not.
This functionality can be useful, for instance, when a specific page should only be accessible from the office VPN IP address.
Arguments
Argument | Description |
---|---|
whitelist | 1 or multiple IP addresses that are allowed access to the page; all other IP addresses are denied when calling the page |
blacklist | 1 or more IP addresses that are not allowed access to the page; all other IP addresses are permitted to visit the page. |
url | Redirect URL for clients not on the whitelist. If no url is provided, a default Deployteq error page will be displayed. |