Password-Protected Web Directories?

Is there somewhere in the panel I can password-protect a public directory, in the way that I can do it with cPanel + Apache (using “Directory Privacy”)?

Otherwise let me know if there’s a way to do this with the CLI.

See this:

https://forums.cyberpanel.net/discussion/comment/6711#Comment_6711