How to Implement Bitsy Link Password Protection
Step 1: Set Up Your Parameters
When configuring password protection, you need to define specific parameters. The key parameters include:-
has_password
: Boolean indicating if password protection is enabled. -
password
: The password required to access the link. -
password_logo
: URL of the logo to display on the password prompt. (optional)
Step 2: Define Your Password Protection Logic
Here’s a simple structure for your password protection configuration:-
Set
has_password
to true to indicate that password protection is active. -
Specify the
password
that users must enter to access the link. -
Provide a URL for the
password_logo
if you want to display a custom logo on the password prompt. (optional)
Example Password Protection Configuration
Here’s a sample of how you might structure your password protection configuration:Explanation of the Example
has_password
: Indicates that password protection is being utilized.password
: The password required for accessing the link.password_logo
: URL of the logo displayed on the password prompt.
Step 3: Testing Your Setup
Before going live, it’s essential to test your password-protected links:- Click on your protected links and ensure the password prompt appears.
- Verify that the correct password grants access, while an incorrect password prevents access.