Visit a folder with no index file and the server may show a bare listing of every file in it: filenames, dates, sizes. Sometimes that is handy; on a public site it is an information leak. Here is how to control it in GoAdmio.
Why listings are a problem
A directory listing tells strangers exactly what you run: backup files with names like site-backup.zip, old versions of scripts, folders you forgot existed. Attackers love listings because they are a free map. The fix costs a minute.
Fix 1: Give the folder an index file
The server only lists a directory when it finds no index file. Dropping even an empty index.html into a folder replaces the listing with a blank page. Good for one or two folders.
Fix 2: Turn listings off in .htaccess
For a whole site, add one line to the document root’s .htaccess via the File Manager:
Options -Indexes
Now any folder without an index file answers 403 Forbidden instead of spilling its contents. This is the setting most sites should ship with.
Fix 3: Server-level control
Admins can set index behavior for many sites at once through the Web Template Editor, and the /go/directoryindex and /go/directory commands handle per-account settings from the shell, which is the way to enforce it across a whole server.
When you actually want listings
A download archive or a public files area can legitimately show listings. In that case, enable them only for that one directory with Options +Indexes in its own .htaccess, and keep anything private out of the tree.
One line of config closes an open window most site owners never notice. More hardening in the two-factor authentication guide, the docs and at goadmio.com.
