I’m trying to figure out how to restrict access to a page unless the page is navigated to from a specific ‘gate’ page. Essentially I want the page to be unaccessible unless you’re coming from the page that comes before it in my sitemap. I’m not certain this is even possible. If possible, can you limit your suggestions to using either html or javascript?
Share
What if you encrypted a variable (like the current date) and placed that in the ‘gate’ link. When you arrive at the new page, a script decrypts the variable and if it doesn’t match or isn’t even there, the script redirects to another page.
Something like:
Edit: I don’t know JS well enough to print that code but I know there are several libraries out there that can do all the encryption/decryption for you.