Deutsch   English   Français   Italiano  
<fbqt9i57l97clk9br94nu753oohbd56brl@4ax.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Otomatic <otomatic@oto.invalid>
Newsgroups: fr.comp.securite
Subject: Re: =?utf-8?Q?Limiter_l'acc=C3=A8s_=C3=A0_u?=
 =?utf-8?Q?ne_partie_d'un_site_w?=
 =?utf-8?Q?eb?=
Date: Fri, 30 Jun 2023 16:41:32 +0200
Organization: PCatHome&Me
Lines: 15
Sender: Dominique Ottello <dominique@ottello.net>
Message-ID: <fbqt9i57l97clk9br94nu753oohbd56brl@4ax.com>
References: <u7mkjp$v2b$1@shakotay.alphanet.ch>
Reply-To: Dominique Ottello <dominique@ottello.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="5b0847620422217da6779a26e5aa5b8e";
	logging-data="2708125"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18bOUGP6gaOU0TD//5JQ+grHx0k2K6mtd0="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:4Wb8dP0h8eedUzcEeg3CthHALHI=
Bytes: 1402

"Benoît L." <benoit@leraillez.com.invalid> écrivait :

> Y-a-t’il moyen de ne demander qu’un mot de passe pour y accéder ?
Dans le dossier à protéger l'accès, fichiers .htacces et .htpasswd :

Fichier .htaccess

AuthName "Photos avec accès restreint"
AuthType Basic
AuthUserFile .htpasswd
require valid-user

Et, dans le fichier .htpasswd

nom_utilisateur:mot_de_passe