[RESOLU] Protection sur dossier Administration

Répondre


Cette question est un moyen d’empêcher des soumissions automatisées de formulaires par des robots.
Smileys
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: =D> #-o =P~ :^o :non: :priere: 8-|
Voir plus de smileys
  Revue du sujet
 

  Étendre la vue Revue du sujet : [RESOLU] Protection sur dossier Administration

Re: Protection sur dossier Administration

par andre260 » 24 mars 2016, 10:41

Bonjour et merci
cela fonctionne ovh propose des solutions de cryptage

Re: Protection sur dossier Administration

par @rthur » 23 mars 2016, 19:56

Vois avec ton hébergeur pour cela.
Si c'est un gros hébergeur connu, Google devrait t'aider avec le mot clé htpasswd

Re: Protection sur dossier Administration

par andre260 » 23 mars 2016, 18:16

merci en fait le mot de passe n'est pas crypté
que me me conseillez vous (site ou autre ) pour crypter
merci

Re: Protection sur dossier Administration

par @rthur » 23 mars 2016, 13:30

le login/mot de passe n'est pas correct, donc soit tu t'es trompé en le tappant (oui, ça arrive à tout le monde donc je le dis quand même), soit tu as mal encodé ton mot de passe dans le .htpasswd

Re: Protection sur dossier Administration

par andre260 » 22 mars 2016, 18:14

excuse de ma reponse tardive
voici mon AuthUserFile /home/acacycloiu/www/Administration/Admin_1/inscription/.htpasswd
il me retourne ceci (alors que j'ai rentré user et mdp)
Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Re: Protection sur dossier Administration

par Ryle » 21 mars 2016, 13:02

Bonjour,

Je ne connais pas l'architecture de ton serveur, mais le chemin du AuthUserFile me semble incorrecte... tu aurais un répertoire index.php qui contiendrait un dossier administration ? :)

Re: Protection sur dossier Administration

par andre260 » 18 mars 2016, 19:27

voila le contenu du htaccess
AuthUserFile /home/a----u/www/index.php/Administration/.htpasswd
<Files Infos_club.php>
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic
</Files>
<limit GET>
require valid-user
</Limit>

Re: Protection sur dossier Administration

par @rthur » 18 mars 2016, 18:23

Bonjour,

Internal Server Error c'est que tu as une erreur dans ton fichier .htaccess

Protection sur dossier Administration

par andre260 » 18 mars 2016, 17:46

Sur notre sitre j'ai mis les 2 fichiers (.htaccess & .htpasswd)
l'AuthUserFile est bien configuré
AuthUserFile /home/a---iu/www/index.php/Administration/.htpasswd
j'ai bien la fenêtre d'identification mais message d'erreur du seveur
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log. "
J'ai demandé a OVH notre hebergeur mais il fait la sourde oreille
pourriez vous m'en dire plus svp
merci