Deutsch   English   Français   Italiano  
<4bjv9i1qmc8lcq60pb4kooci94n0abe7u6@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: Sat, 01 Jul 2023 08:57:04 +0200
Organization: PCatHome&Me
Lines: 30
Sender: Dominique Ottello <dominique@ottello.net>
Message-ID: <4bjv9i1qmc8lcq60pb4kooci94n0abe7u6@4ax.com>
References: <u7mkjp$v2b$1@shakotay.alphanet.ch> <fbqt9i57l97clk9br94nu753oohbd56brl@4ax.com> <u7mrn0$t6f$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="ce2e4ea83176df8d53a132bb0127652b";
	logging-data="3009047"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19F6uSIphDSc33t0B5I9dcOOe6+1KIFfNg="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:NLPuRP31dEW+8uCI2LfWYtVjlCE=
Bytes: 2076

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

> Nonobstant quelques doutes, le 30 juin 2023 à 16:41, Otomatic se permit
> de dire :
> 
> 
> > "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
> 
> Ok, merci
> 
> Je dois donc avoir au moins un nom d'utilisateur, il n'est pas possible
> d'avoir : everyone:mot_de_passe. Juste un mot de passe en quelque sorte.
Cela dépasse mes compétences !
Attention aussi à la déclaration du chemin pour AuthUserFile .htpasswd
Voir la documentation Apache
https://httpd.apache.org/docs/2.4/mod/mod_authn_file.html#authuserfile