How best to implement the login into the directory website password if you don't need to show the login form by default?

When entering the address of the directory displays all folders that are there. Need to see the file stub, but if you enter username/password (form initially hidden, accessible, or at such other address, or something else) - again will appear in the folder.

Using htaccess is authorization, is satisfied, but does not fit that form is displayed.
July 8th 19 at 11:30

Find more questions by tags htaccessUser identification