Hello. I have 2 admin folders on different servers. One of them shows the directory contents in a list, while the other gives a 403 error. I like that you can’t see the contents in my ‘admin’ folder. They both have 755 for the permissions. I have some php files in these admin folders to manage the databases with mySQL. What should I do to hide the admin contents for the one displaying the list? Do I make a “blank” kind of index file? I’m working on password protecting the contents, so if you browse to one of the files inside the admin folder you are redirected back to the login, but the full list of the directory looks sloppy. Or make my login.php the index for the admin page?
Any best practice advice from an expert? Thanks.
Dave