Author Topic: Preventing Visitors from reading the contents of htaccess file  (Read 1658 times)

Offline certforumz

  • Cert Exams
  • Administrator
  • Hero Member
  • *****
  • Posts: 1026
  • Ask me a question ...
    • CertExams - CCNA, A+, Network+, and Others
It is a good practice to disable website visitors from reading htaccess file. Disallowing htaccess file from being read provides one more obstacle for hackers. The syntax for the same is given below:
<Files .htaccess>
order allow,deny
deny from all