Password Protect Web Engine Preview
Two methods to password protect the preview url for your content instance
Method 1: Hard Lock with Query Parameter
First Method is a hard lock, it requires a query parameter. Edit your loader file and wrap all the code in an if statement like this:
What it does: if the site is now the live url, its check for query parameter
pw to equal the set string. For example
https://xyz.preview.zestyio.com?pw=test will load the page, but anything else will show a blank screen. This requires every preview url to have the
?pw=test appended to the url.
Connect with Content Experts
Book a free 15-minute consultation with a content expert. Discuss your application, pain points and requirements. Understand how Zesty's lower total cost of ownership, features, functionality can elevate your business by creating extraordinary digital experiences.
G2 MOMENTUM LEADER