Articles on: Advanced

How to pass a password via URL param

Articles on: Advanced

If you are using site-wide password protection, you can share your password using query

pwd

in the website URL.

This is how your URLs will look like:

Site URL without param:

https://secret-website.spread.name/


Site URL with param:

https://secret-website.spread.name/?pwd=hello



This way you can give the access to your website so the visitor won’t have to enter the password manually. And you can use such URL in newsletters or in the closed communities.

Please note that the password will be shared in the clear, so you need to consider whether this method work for you. Do not use your existing passwords from your other services and preferably use randomly generated passwords, for example https://www.createpasswords.com/

Updated on: 06/03/2023

Updated on: 28/12/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!