While i try to access the .htaccess file its saying access forbidden,which is obvious. But the listing of all other files also getting displayed,i.e no restrictions are imposed on those files which are under the same directory as the .htaccess. However i want to restrict everyone but myself from those files too. Here is my httpd.config
inside directory of httpd.config
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride ALL
Require all granted
<Files ".ht*">
Require all denied
</Files>
my .htaccess file
# deny everyone but myself
<Limit GET POST PUT>
Options -Indexes
Order allow,deny
Deny from all
</Limit>