Perform all processing and validation on the server side. Don’t perform validation using client-side JavaScript or Ajax.
Verify the subscriber’s identity by using at least two query string parameters before you present data or do any other processing on the landing page.
Carefully review CloudPages workflow processes before you publish them.
Surround non-authenticated, non-application public landing pages with a global If-Then clause. In the clause, check for empty required parameters. Use this clause for front-end pages and for processing landing pages. This step prevents a landing page from being processed if somebody accesses it directly. It also prevents users from manipulating parameters.
When you link to public CloudPages, use the AMPscript CloudPagesUrl() function. This function uses encryption to protect data in query strings. Don’t use simple encodings, such as Base64 or the AMPscript StringToHex() function, to pass sensitive information, including SubscriberId and SubscriberKey. Base64 and hex strings can be decoded easily.
Ensure that CloudPages are being used for their intended purposes by performing regular security reviews and audits.
<script runat=server>
Platform.Response.SetResponseHeader("Strict-Transport-Security","max-age=200");
Platform.Response.SetResponseHeader("X-XSS-Protection","1; mode=block");
Platform.Response.SetResponseHeader("X-Frame-Options","Deny");
Platform.Response.SetResponseHeader("X-Content-Type-Options","nosniff");
Platform.Response.SetResponseHeader("Referrer-Policy","strict-origin-when-cross-origin");
Platform.Response.SetResponseHeader("Content-Security-Policy","default-src 'self'");
</script>
002743057

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.