{"id":3329,"date":"2023-06-30T16:19:02","date_gmt":"2023-06-30T16:19:02","guid":{"rendered":"https:\/\/obo.zoj.mybluehost.me\/uncategorized\/password-protect-your-pages\/"},"modified":"2025-02-17T14:31:33","modified_gmt":"2025-02-17T14:31:33","slug":"password-protect-your-pages","status":"publish","type":"post","link":"https:\/\/ioninteractive.com\/ionacademy\/password-protect-your-pages\/","title":{"rendered":"Password-Protect Your Pages"},"content":{"rendered":"\n<p>Before we begin, you will want to have an understanding of how to create<strong> lookup tables<\/strong> within your console. For more information on lookup tables, <a href=\"https:\/\/obo.zoj.mybluehost.me\/lookup-tables-for-key-value-data\/\" target=\"_blank\" rel=\"noopener\">click here<\/a>.<\/p>\n\n\n\n<p>For this support post, we will be using the <strong>username<\/strong> field as the <strong>lookup key<\/strong> and a <strong>password <\/strong>field as the <strong>lookup value<\/strong>. You can upload a lookup table to your console with the user names and corresponding passwords.<\/p>\n\n\n\n<p>We will be using a lookup table called \u201cPasswords\u201d, which we attached to this post in case you would like to set up an example in your console:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/f.hubspotusercontent30.net\/hubfs\/355484\/Passwords.csv\" target=\"_blank\" rel=\"noopener\">Passwords.csv<\/a><\/li>\n<\/ul>\n\n\n\n<p>The first step to password-protect your page is to <a href=\"https:\/\/obo.zoj.mybluehost.me\/forms-add-a-form-to-a-creative\/\" target=\"_blank\" rel=\"noopener\">create a form<\/a> with the two textboxes: <strong>username <\/strong>and <strong>password<\/strong>.&nbsp; In our example, the username&#8217;s Data Field is &#8220;Email&#8221;, and the password&#8217;s Data Field is &#8220;Password&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"313\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2025\/02\/Screenshot_1-1-1024x313.png\" alt=\"\" class=\"wp-image-7519\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_1-1-1024x313.png 1024w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_1-1-300x92.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_1-1-768x235.png 768w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_1-1-1536x470.png 1536w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_1-1.png 1673w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"298\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2025\/02\/Screenshot_2-1-1024x298.png\" alt=\"\" class=\"wp-image-7520\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_2-1-1024x298.png 1024w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_2-1-300x87.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_2-1-768x224.png 768w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_2-1-1536x448.png 1536w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_2-1.png 1675w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can <a href=\"https:\/\/help.rockcontent.com\/en\/data-collection-create-a-data-field\" target=\"_blank\" rel=\"noopener\">create your own data fields<\/a>, as we did, or use existing ones. Just be aware that the Data Fields&#8217; values will<strong> have to match the rules<\/strong> afterward.<\/p>\n\n\n\n<p>Then, you will select the submit button and add an <strong>action <\/strong>to go to your main content page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"292\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2025\/02\/Screenshot_3-1-1024x292.png\" alt=\"\" class=\"wp-image-7521\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_3-1-1024x292.png 1024w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_3-1-300x86.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_3-1-768x219.png 768w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_3-1-1536x438.png 1536w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2025\/02\/Screenshot_3-1.png 1675w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now, you will add the rules to the submit button. They will check the visitor&#8217;s data against the lookup table you set up in your console.<\/p>\n\n\n\n<p>The first rule will take users to the correct page (Main page) if the information entered is correct:<\/p>\n\n\n\n<p><strong>Conditions:<\/strong> Lookup table data &gt; Passwords.{% raw %}{{Email}}{% endraw %} &gt; equals &gt; {% raw %}{{Password}}{% endraw %}<br><strong>Actions: <\/strong>Go to next page &gt; Main page<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2023\/08\/image-png-Jun-30-2023-03-49-06-8294-PM.png\" alt=\"\" \/><\/figure>\n\n\n\n<p><strong>Passwords.<\/strong> (with the dot) refers to the lookup table we created:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2023\/08\/image-png-Jun-30-2023-03-51-40-6121-PM.png\" alt=\"\" \/><\/figure>\n\n\n\n<p>The values between double curly braces, {% raw %}<strong>{{Email}}<\/strong>{% endraw %} and {% raw %}<strong>{{Password}}<\/strong>{% endraw %}, refer to the Data Fields being used in the form. Remember, <span style=\"text-decoration: underline\">the Data Fields used in the form will have to match this part of the rule!<\/span><\/p>\n\n\n\n<p>The next rule is for anyone who does not have a valid username and password. It will keep the users on the current page if the information entered is not correct, but you are free to redirect them to a &#8220;sorry&#8221; page if you wish.<\/p>\n\n\n\n<p><strong>Conditions<\/strong>: No conditions required<br><strong>Actions<\/strong>: Go to next page &gt; Form<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2023\/08\/image-png-Jun-30-2023-03-54-31-7766-PM.png\" alt=\"\" \/><\/figure>\n\n\n\n<p><strong>*NOTE:<\/strong> The passwords used in this method will not be case-sensitive. When testing, you will need to use a live URL as this will not function as desired when in a Preview environment.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p>If you have any questions, please contact us at <a href=\"mailto:help@ioninteractive.com\" rel=\"noopener noreferrer nofollow\">help@ioninteractive.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before we begin, you will want to have an understanding of how to create lookup tables within your console. For more information on lookup tables, click here. For this support post, we will be [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":5366,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"categories":[2322,2078],"tags":[2173,2200,2144,2194,2235],"class_list":["post-3329","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-management-the-advanced-capabilites","category-the-advanced-capabilites","tag-advanced","tag-data-management","tag-forms","tag-rules","tag-security"],"_links":{"self":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts\/3329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/comments?post=3329"}],"version-history":[{"count":4,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts\/3329\/revisions"}],"predecessor-version":[{"id":7523,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts\/3329\/revisions\/7523"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/media\/5366"}],"wp:attachment":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/media?parent=3329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/categories?post=3329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/tags?post=3329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}