How do I password protect a whole Wix site with only one password entry needed?

I have a site which I want to password protect, but only want users to have to enter the password once to gain access to the whole site. My site is a blog updating partners about humanitarian work. I work in a part of the world where I need to be careful about security and the information I’m publishing could be dangerous if public. So I want to be able to email my readers a password to access the site when I publish new content, but don’t want them to have the hassle of having to re-enter the password for each page they visit.

If I use the “site password” function then users have to re-enter the password as they visit each new page on the site. Similarly, if I add passwords to the individual pages rather than site-wide, then the user has to enter multiple passwords as they browse. I have experimented with membership only access but that’s not what I’m looking for either.

Is it possible to create a single password that is triggered no matter which page of my site the user first lands on, but only needs entered once to grant access to the whole site?

Thank you very much for any help you can give.

If the out of the box options don’t meet your requirements, then it’s likely you’ll need something coded. That said, it comes with the additional overhead of ensuring that things are actually secure - e.g. adding a full screen lightbox on page load is likely to not be enough, since the content behind it will still have loaded into the DOM and be accessible via browser dev tools. You’d need a fair bit of setup.

It does sound like members area is the most likely to fit the requirements, even if there might be trade-offs.

Is there a specific reason it wouldn’t work for what you need?

Hi, @LNathan !!

If you really are operating in such a dangerous region, sending a plaintext password in a single email seems risky to me. It also feels unsafe to protect the site with one fixed, shared password at all times. Ideally, you’d want to use something like a time-based one-time password that can be shared via Google Authenticator or a similar app. That would require some coding, but it should be possible to implement even on Wix.

That said, this approach involves fairly complex work, so it would probably be better to start with a simpler solution. First and foremost, the priority should be making the method of sending the password more secure.

If you’re comfortable with coding, one option would be to email an encrypted version of the password, and then send the decryption password through a different channel, such as SMS. You could also create a separate, dedicated site where users enter the decryption password to retrieve the real password. However, this too requires a reasonable amount of effort, so you may want to look for another approach.

I asked an AI about alternatives, and it turns out that a well-known password manager called 1Password offers a feature that lets you generate secure password-sharing links. If you send one of these shared links by email, that might help ensure the password is transmitted safely.

After that, users would access the main site using that password. To build the kind of functionality you’re aiming for, you’d likely need to use Wix’s router feature. In theory, you could make all pages accessible only through the router. But if that also feels too complicated, I’d still recommend using Wix’s member system.

I don’t know exactly what your concerns are with that feature, but if you disable automatic approval and require manual approval for new members, your own judgment becomes part of the process, and from a security standpoint, that doesn’t seem like a major issue. Alternatively, during the manual approval process, you could ask applicants to enter the “password” you previously sent them by email into a form. If the password matches, you can decide that this person is safe to approve as a member. For the amount of work involved, that could result in a fairly solid and well-balanced authentication process. :innocent:

Hello there,

We have a Password Protected Page app, which you can try out:

Let us know in case it doesn’t meet your needs, and we’ll see what can be done for you.

Thanks and good luck

Wix doesn’t really support a true one-time password for the entire site out of the box. The built-in site password works, but it can still prompt again when navigating pages.

The smoothest workaround is making the site members-only, users log in once and stay authenticated across all pages. If you’re using Velo, you can also build a custom password page and store access in a cookie/session for single-entry behavior.

So: native = limited, members login = easiest, Velo = most control.