Password protecting a collection

New Member
6 0 0

I know others have asked this, but I couldn't find the specific answer to my question without getting the answer "get a paid app" which I don't want to do. I want to be able to password protect a collection to give those who signed up for the "early access" to it to be able to access it under a password. I would like to set it expire when the collection actually goes live and so forth for deals that I have upcoming.  I would like to be able to use code to add this to my shopify store. Could anyone with coding experience give me advice and direction on where to add the code.