> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to protect your .htaccess file?

# Here's how to protect your .htaccess file

For security purposes, we recommend you to prevent access to your [.htaccess file](https://help.ex2.com/en/article/what-is-the-htaccess-file-and-what-is-it-used-for-1mgswq0/?bust=1784826921560) from unauthorized access.  
  
### Add this code to your .htaccess file:

```
 # .htaccess protection order allow, deny deny from all satisfy all
```