{"id":2370,"date":"2022-10-27T10:26:49","date_gmt":"2022-10-27T10:26:49","guid":{"rendered":"https:\/\/blog.hostinger.io\/fr\/support\/2022\/10\/27\/1583470-comment-proteger-votre-site-web-par-un-mot-de-passe-chez-hostinger\/"},"modified":"2025-08-26T21:07:37","modified_gmt":"2025-08-26T21:07:37","slug":"1583470-comment-proteger-votre-site-web-par-un-mot-de-passe-chez-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/fr\/support\/1583470-comment-proteger-votre-site-web-par-un-mot-de-passe-chez-hostinger\/","title":{"rendered":"Comment Prot\u00e9ger Votre Site Web Par un Mot de Passe Chez Hostinger"},"content":{"rendered":"<p class=\"no-margin\">La fonction de protection des <b>r&eacute;pertoires par mot de passe<\/b> dans <b>hPanel<\/b> vous permet de d&eacute;finir un mot de passe pour limiter l&rsquo;acc&egrave;s &agrave; votre site Web (ou &agrave; des parties de celui-ci).<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Vous pouvez acc&eacute;der &agrave; cette fonctionnalit&eacute; en ouvrant <b><a href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Sites Web<\/a> &rarr; G&eacute;rer<\/b>, puis en recherchant <b>R&eacute;pertoires prot&eacute;g&eacute;s par mot de passe<\/b> dans la barre lat&eacute;rale gauche et en cliquant dessus :<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/fr\/support\/wp-content\/uploads\/sites\/56\/2022\/10\/9baf4ecc-95fb-4265-920f-813c84c5cfc0.jpg\"><\/div><p class=\"no-margin\">Une fois dedans, s&eacute;lectionnez simplement le r&eacute;pertoire que vous souhaitez prot&eacute;ger :<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/fr\/support\/wp-content\/uploads\/sites\/56\/2022\/10\/9fee8164-b842-4e6d-9225-9a34c2bb0b63.jpg\" alt=\"D&eacute;finir le r&eacute;pertoire &agrave; prot&eacute;ger par mot de passe dans hPanel de Hostinger\"><\/div><p class=\"no-margin\">Attribuez-lui un nom d&rsquo;<b>utilisateur<\/b> et un <b>mot<\/b> de passe, puis cliquez sur <b>Prot&eacute;ger<\/b> :<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/fr\/support\/wp-content\/uploads\/sites\/56\/2022\/10\/027711d4-3cb6-458b-956c-092c3712fed6.jpg\" alt=\"D&eacute;finir un mot de passe pour un r&eacute;pertoire dans hPanel de Hostinger\"><\/div><p class=\"no-margin\">Tous les r&eacute;pertoires prot&eacute;g&eacute;s par mot de passe seront r&eacute;pertori&eacute;s sur la m&ecirc;me page ci-dessous, o&ugrave; vous aurez la possibilit&eacute; de <b>supprimer la protection<\/b> en cliquant sur l&rsquo;ic&ocirc;ne de la corbeille :<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/fr\/support\/wp-content\/uploads\/sites\/56\/2022\/10\/39e7ed27-736d-4b71-8900-798fd23c48bd.jpg\" alt=\"Supprimer la protection d'un r&eacute;pertoire dans hPanel de Hostinger\"><\/div><p class=\"no-margin\">C&rsquo;est tout ! Vous savez maintenant comment prot&eacute;ger par mot de passe votre site Web ou une partie de celui-ci &#128522;<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>Remarque :<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">En cas de mot de passe oubli&eacute;, il suffit de supprimer la protection par mot de passe sur le r&eacute;pertoire et de la recr&eacute;er<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\"><b>Ressources suppl&eacute;mentaires<\/b> :<\/p><ul>\n<li>\n<p class=\"no-margin\"><b><a href=\"\/fr\/support\/1583526-pourquoi-un-repertoire-protege-par-un-mot-de-passe-vous-demande-deux-fois-le-mot-de-passe\" target=\"_blank\" class=\"intercom-content-link\">Pourquoi un r&eacute;pertoire prot&eacute;g&eacute; par mot de passe demande-t-il deux fois le mot de passe ?<\/a><\/b><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Ajouter une protection par mot de passe pour les r\u00e9pertoires via hPanel chez Hostinger<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[238],"tags":[],"class_list":["post-2370","post","type-post","status-publish","format-standard","hentry","category-autre"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583470-how-to-password-protect-a-website-in-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583470-como-proteger-con-contrasena-tu-sitio-web-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583470-comment-proteger-votre-site-web-par-un-mot-de-passe-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583470-cara-buat-password-untuk-melindungi-website-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/1583470-como-proteger-seu-site-com-senha-na-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583470------hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/posts\/2370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/comments?post=2370"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/posts\/2370\/revisions"}],"predecessor-version":[{"id":2992,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/posts\/2370\/revisions\/2992"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/media?parent=2370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/categories?post=2370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/fr\/support\/wp-json\/wp\/v2\/tags?post=2370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}