Add the following line to your configuration file or the .htaccess file in your root directory: Options -Indexes Use code with caution. For Nginx ( nginx.conf )
Modern security practices require specialized algorithms: