Deutsch   English   Français   Italiano  
<u7omma$jq1$1@shakotay.alphanet.ch>

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

Path: ...!news.mixmin.net!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.comp.securite
Subject: Re: Limiter =?ISO-8859-1?Q?l=27acc=E8s_=E0?= une partie d'un site
 web
Supersedes: <u7olqu$e4d$2@shakotay.alphanet.ch>
Date: Sat, 1 Jul 2023 08:04:26 -0000 (UTC)
Organization: Posted through news.alphanet.ch
Message-ID: <u7omma$jq1$1@shakotay.alphanet.ch>
References: <u7mkjp$v2b$1@shakotay.alphanet.ch> <fbqt9i57l97clk9br94nu753oohbd56brl@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 1 Jul 2023 08:04:26 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="schaefer";
	logging-data="20289"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-24-amd64 (x86_64))
Cancel-Key: sha256:4izxaeQe1vIgDtK5XU24CuTtGaYcb4OEnoox+6hrDdE=
Cancel-Lock: sha256:pGpRe/5npU6wAJGVQiku5SFCgb7wJjzXAoPqWNgtcV0= sha256:npSwmb0N+U4C8FgAN7rqP5fBJS2BBfZi8Ip6SCkwmzA=
Bytes: 2078
Lines: 21

On Fri, 30 Jun 2023 16:41:32, Otomatic <otomatic@oto.invalid> wrote:
> Et, dans le fichier .htpasswd
> 
> nom_utilisateur:mot_de_passe

Deux remarques:

1) il me semble que ce mot de passe doit être haché; sous OS standard on
   le fait avec htpasswd.

2) il serait bien de tester que http://site.fr/chemin/.htpasswd ait bien
   été configuré pour ne pas être téléchargeable, même en entrant
   le mot de passe.

J'ajoute que si seul un mot de passe est désiré, on peut alors modifier
le nom présenté à l'authentication par le navigateur dans le .htaccess
du genre: "Entrez login: toto et le mot de passe".

-- 
Attention: limitez le nombre de lignes de citation à l'essentiel, sinon
je ne verrai pas votre réponse. Et si vous écrivez souvent des bobards,
je ne vous lirai plus et je recommanderai (NoCeM) de ne plus vous lire.