Opening a folder on my website shows a file listing. How do I hide it?

Ce contenu n'est disponible qu'en roumain et en anglais ; le texte anglais est affiché ci-dessous.

Opening a folder on my website shows a file listing. How do I hide it?

Disable directory listing in the web server configuration for that folder or the entire website. A listing may appear when the folder has no recognised index file and the server allows its contents to be displayed. Adding an index page can hide the listing, but it does not replace disabling the feature.

Check which web server your site uses before copying configuration rules. If you need our help, email [email protected] or open a ticket in your client account. Importantly, hiding the listing does not protect files accessed through their direct URLs. Move confidential documents outside the public directory or restrict access to them.

QUESTIONS SIMILAIRES

Voici quelques questions dont les réponses pourraient vous intéresser. Nous répondons aux questions importantes et pratiques de nos clients.

ABONNEZ-VOUS À LA NEWSLETTER

Abonnez-vous à notre newsletter. Nous l’utilisons uniquement pour les informations importantes.

Illustration abonnement à la newsletter