how to set a password to the site?

good day!
how can openlitespeed set a password to a directory similar to htaccess and htpasswd?