Password Protect a webpage running on cyberpanel

Hello,
Would like to password protect a webpage running on cyberpanel. What would be the easiest way to do this?

Is it possible to protect the whole public_html folder?

Thank you.

Do you use OpenLiteSpeed or LiteSpeed Enterprise?