do you guy know what it would be called to require users to input an assigned password in order to view your website? Like this site for example Click. I was thinking that it was .htaccess, but I don’t want to protect any directories. I just want my friends to be able to log into my site without having to change my directory names for security issues.
Share
Apache htaccess sounds like what you need. The site you linked to has a bespoke site login which could be written in PHP or whatever the site is coded with.
It’s trivial to setup Apache to do this though, first create a password with the htpasswd command:
Then put this in the .htaccess file: