Password Protected *Member* Pages

Is there any way to create a prompt for a password to view a page within a members’ area? I know that in order for a person to see their members area, they need to be logged in. But I want to create an extra layer of protection to view certain member pages.

A similar example would be Snapchat’s “My Eyes Only” page, where you have to type in a pin number to view it.

If it’s possible for a member to create a pin: How would I go about making it so that when a member of my site is logged in and they want to see their own page of content, they will click a link which triggers them to enter a pin before letting them see the page.

If it’s not possible to add a separate pin to the member account, can I prompt for their account password again at this point?

Thank you!

Hi,
it’s not possible to have the same page both password protected and be available to members only.

As a workaround, you can password protect a regular page. Then, on the page, add code that will check if the user is logged in or not if not then prompt login .

You can also request this feature by contacting Wix support .

Hi Aleks, thanks for your response!

For what I’m building, I don’t think it would make sense to password protect a regular page. I want to password protect a collection of records that the member uploads.

Do you think I can make it so that when a member clicks the link to their collection, it instead opens a password screen that I make myself, where I compare the string of characters/numbers they type in to a stored value, and the “enter” button only leads to the actual collection if those strings match? For example, if during their signup process, I ask for a 4-digit pin, and I just store that to use as comparison to let the “enter” button work?

Or wait… No. That wouldn’t do anything because a person could just type in the url to the actual collection and it would go there, huh?