|Implementing and adjusting security settings - Passcode|
|Implementing and adjusting security settings - Dynamic pages IP restriction|
You can set set up and adjust security for your dynamic content, such as a passcode to be sent with dynamic content requests (recommended) and the ability to restrict the IP addresses for which dynamic content URLs will display.
Go to System > Configuration > DOTMAILER > Dynamic Content and click on External Dynamic Content URL's, where it is firstly recommended to set a passcode. This will ensure basket contents and coupon codes can only be viewed if that passcode is sent with the external dynamic content request, adding security.
In addition to all our URLs requiring the above passcode included, you can also manage the list of requesting IP addresses that these URLs will display for when requested from them. The 'Dynamic Pages IP Restriction' section is found in System > Configuration > DOTMAILER > Developer.
As a default, we include the six IP addresses (126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124) that dotmailer sends requests from when sending emails to pull in this content, but for testing purposes you may want to add your office IP so you can view these URLs directly in your browser.
Important!When adding an IP address to this list, you need to leave a space after the comma that separates it from the last IP address in the list. Without it, your external dynamic content won't work.
Removing all IPs from this box and clicking Save Config will completely disable the IP verification on these pages (for v5.3.0 and above). This is not recommended, however.
Magento 2.0The above also applies for Magento 2.0, with the only difference being that the 'Passcode' section can be found by going to Stores > Configuration > DOTMAILER > Dynamic Content, and the 'Dynamic Pages IP Restriction' can be found by going to Stores > Configuration > DOTMAILER > Developer.