> ## 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).

# Comment protéger votre fichier htaccess ?

Pour des raisons de sécurité, nous vous recommandons d'empêcher tout accès non autorisé à votre fichier .htaccess.

# La méthode pour protéger votre fichier htaccess

Ajoutez ce code à votre [fichier .htaccess](https://help.ex2.com/fr/article/quest-ce-que-le-fichier-htaccess-et-a-quoi-ca-sert-n8dhvr/?bust=1676469915557) :  

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