4 Disable site indexes
For security, accessing websites not yet setup to serve content should not display a list of its file contents.
Before security became very important on the web, it was common to allow access to files directly from the web, so visitors could explore the file structure and even download files directly. This is what is allowed if the account allows indexes. Once a site gets a file like index.php in its root folder, it then serves the content as webpages, or at least something other than its file contents. Once Smallsite Design is installed, it will also just serve its content only.
It is prior to having site content that it is generally more secure to disable indexes, unless wanting to allow such access to web-facing folders where direct file downloads are to be allowed. If only serving Smallsite Design sites, disable indexes for web-facing folders, including for file transfers (FTP). Shared hosting often disables indexes in their default setup, but use this procedure to ensure they are.
After disabling indexes, any attempt to access a site's folders from the web will return a 403 Forbidden page.
Steps
△The role to perform this procedure is: Site owner.
if not already.
by clicking the
The two relevant folders to check are public_html and public_ftp. If both have an
by performing:
public_htmlby clicking its
by clicking the
then clicking the
by clicking the
The listing for the folder shows No indexing for its
by repeating step 3 for the public_ftp folder.