Can someone help?

I’m not sure if this is supported on these forums, but could someone tell me where to put this

I need to know how to password protect a webpage securely without people being able to see the source code, maybe like encripted or something. Thanks for anyone who helps me.