Security rules
Simon Dubreucq avatar
Written by Simon Dubreucq
Updated over a week ago

Benefit of security rules

Security rules make pages accessible under certain conditions.

This allows to:

  • either enhance the security of the platform, to prevent a user from falling on an unwanted page.

  • either create a particular route for the user

We advise you to not add more than 3 security rules per page.

Access the security rules setting

To access the security rules, you must go to the campaign editor and click on the "Settings" tab on the left of the editor.

You will be able to activate and add security rules in this way. These rules will then be specific to the page you are on.

Two types of security rules

1st security rule: automatic rules

Automatic rules that are not editable and are directly integrated into our platform. For example, when you insert a module of an Instant Win, automatically on the result page, you will find a security rule that cannot be removed.

This rule explains that only those who have won the Instant Win can see this page. This allows you to add extra security so that there are no users who can fall on this page without having previously won an instant win.

✍️ It's possible to have a single results page with several instant-win security rules!

Using several instant-win modules within the same campaign will generate security rules for each of them on the results pages.

Don't worry, you can easily combine them. As soon as at least one of the rules is true, the page concerned will be displayed.

Please also note that the security rules apply to the last game played: this means that if a participant wins and sees the "Won" page, they will no longer be able to see this "Won" page in the next game, whether they win or lose, even if they access it directly from the url.

2nd security rule: modifiable rules

The modifiable rules can be added manually:

  • View: the selected page has been viewed by the user.

  • Equals: checks a value passed by the page.

  • Played: only on the game modules, and allows to verify that the user played in the module.

  • Won: allows you to verify that the user is a winner

  • Lost: allows you to verify that the user is a loser

  • Authenticated: allows you to verify that the user is recognized on the campaign, having filled in the form, by connecting via an SSO, etc.

All these rules (automatic and modifiable) are cumulative between them, except the "Won" and "Lost" rules which have a different functioning.

Example : campaign with several Forms

if you create a campaign with multiple Forms, you will need to create an "Authenticated" security rule on each Form page after the campaign entry Form to secure URL link sharing.

Did this answer your question?