[Résolu]protéger un répertoire

comment fait on pour protéger un répertoire par mot de passe sur un site web ?

avec un .htaccess si vous avez Apache:
infres.enst.fr/~danzart/frames/htaccess.html

tu peux aussi faire une directive dans httpd.conf : <Directory /pathcomplet de document root/pathvers/rep-protégé> Order allow,deny Allow from ton-ip-locale </Directory>