How can I password protect a collections page on my website?

Hi, I would like to be able to password protect a collections page and its products so that I can give out the password to select clients and only they can see the products within that collections page. Both should be hidden. Ideally there is also a timer for it to expire. A time that I can pick and adjust easily. The time option is not as important as the pw protection. I know there are apps out there, but i’d like to try doing this with code.

Can anyone help with some coding?

My site is: www.moanavintage.com

Hi,

I can write a javascript code that would have the entire page blurred and a modal with a password to enter. Is that what you want?

Hi there!

Thanks so much for writing back. I’d prefer the page wasn’t blurred and
just blank instead with a “enter password” box. Would that be possible? And
just to clarify, you’d be able to make all the products within that
specific collection invisible on the entire website (ie. the hidden
products in the collection won’t show up on other pages on the website)?