mirror of
				https://github.com/apache/httpd.git
				synced 2025-10-31 19:10:37 +03:00 
			
		
		
		
	git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1447971 13f79535-47bb-0310-9956-ffa450edef68
		
			
				
	
	
		
			169 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			169 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| <?xml version="1.0" encoding="ISO-8859-1"?>
 | ||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 | ||
| <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"><head><!--
 | ||
|         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 | ||
|               This file is generated from xml source: DO NOT EDIT
 | ||
|         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 | ||
|       -->
 | ||
| <title>mod_authn_file - Serveur Apache HTTP</title>
 | ||
| <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
 | ||
| <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
 | ||
| <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" />
 | ||
| <script src="../style/scripts/prettify.js" type="text/javascript">
 | ||
| </script>
 | ||
| 
 | ||
| <link href="../images/favicon.ico" rel="shortcut icon" /></head>
 | ||
| <body>
 | ||
| <div id="page-header">
 | ||
| <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p>
 | ||
| <p class="apache">Serveur Apache HTTP Version 2.5</p>
 | ||
| <img alt="" src="../images/feather.gif" /></div>
 | ||
| <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
 | ||
| <div id="path">
 | ||
| <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">Serveur HTTP</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.5</a> > <a href="./">Modules</a></div>
 | ||
| <div id="page-content">
 | ||
| <div id="preamble"><h1>Module Apache mod_authn_file</h1>
 | ||
| <div class="toplang">
 | ||
| <p><span>Langues Disponibles: </span><a href="../en/mod/mod_authn_file.html" hreflang="en" rel="alternate" title="English"> en </a> |
 | ||
| <a href="../fr/mod/mod_authn_file.html" title="Fran<61>ais"> fr </a> |
 | ||
| <a href="../ja/mod/mod_authn_file.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
 | ||
| <a href="../ko/mod/mod_authn_file.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
 | ||
| </div>
 | ||
| <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Authentification utilisateur <20> l'aide de fichiers
 | ||
| texte</td></tr>
 | ||
| <tr><th><a href="module-dict.html#Status">Statut:</a></th><td>Base</td></tr>
 | ||
| <tr><th><a href="module-dict.html#ModuleIdentifier">Identificateur<75>de<64>Module:</a></th><td>authn_file_module</td></tr>
 | ||
| <tr><th><a href="module-dict.html#SourceFile">Fichier<65>Source:</a></th><td>mod_authn_file.c</td></tr></table>
 | ||
| <h3>Sommaire</h3>
 | ||
| 
 | ||
|     <p>Ce module permet aux frontaux d'authentification comme
 | ||
|     <code class="module"><a href="../mod/mod_auth_digest.html">mod_auth_digest</a></code> et <code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code>
 | ||
|     d'authentifier les utilisateurs en les recherchant dans des fichiers
 | ||
|     de mots de passe au format texte. <code class="module"><a href="../mod/mod_authn_dbm.html">mod_authn_dbm</a></code>
 | ||
|     fournit une fonctionnalit<69> similaire.</p>
 | ||
| 
 | ||
|     <p>Lorsqu'on utilise <code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code> ou
 | ||
|     <code class="module"><a href="../mod/mod_auth_digest.html">mod_auth_digest</a></code>, ce module peut <20>tre invoqu<71> en
 | ||
|     affectant la valeur <code>file</code> <20> la directive <code class="directive"><a href="../mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code> ou <code class="directive"><a href="../mod/mod_auth_digest.html#authdigestprovider">AuthDigestProvider</a></code>.</p>
 | ||
| </div>
 | ||
| <div id="quickview"><h3 class="directives">Directives</h3>
 | ||
| <ul id="toc">
 | ||
| <li><img alt="" src="../images/down.gif" /> <a href="#authuserfile">AuthUserFile</a></li>
 | ||
| </ul>
 | ||
| <h3>Voir aussi</h3>
 | ||
| <ul class="seealso">
 | ||
| <li>
 | ||
|   <code class="directive"><a href="../mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code>
 | ||
| </li>
 | ||
| <li>
 | ||
|   <code class="directive"><a href="../mod/mod_auth_digest.html#authdigestprovider">AuthDigestProvider</a></code>
 | ||
| </li>
 | ||
| <li><code class="program"><a href="../programs/htpasswd.html">htpasswd</a></code></li>
 | ||
| <li><code class="program"><a href="../programs/htdigest.html">htdigest</a></code></li>
 | ||
| <li><a href="../misc/password_encryptions.html">Formats de mots de
 | ||
| passe</a></li>
 | ||
| </ul><ul class="seealso"><li><a href="#comments_section">Commentaires</a></li></ul></div>
 | ||
| 
 | ||
| <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 | ||
| <div class="directive-section"><h2><a name="AuthUserFile" id="AuthUserFile">AuthUserFile</a> <a name="authuserfile" id="authuserfile">Directive</a></h2>
 | ||
| <table class="directive">
 | ||
| <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>D<>finit le nom d'un fichier texte pour l'authentification
 | ||
| contenant la liste des utilisateurs et de leurs mots de
 | ||
| passe</td></tr>
 | ||
| <tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>AuthUserFile <var>chemin-fichier</var></code></td></tr>
 | ||
| <tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>r<>pertoire, .htaccess</td></tr>
 | ||
| <tr><th><a href="directive-dict.html#Override">AllowOverride:</a></th><td>AuthConfig</td></tr>
 | ||
| <tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Base</td></tr>
 | ||
| <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_authn_file</td></tr>
 | ||
| </table>
 | ||
|     <p>La directive <code class="directive">AuthUserFile</code> permet de
 | ||
|     d<>finir le nom d'un fichier texte pour l'authentification contenant
 | ||
|     la liste des utilisateurs et de leurs mots de passe.
 | ||
|     <var>chemin-fichier</var> est le chemin vers le fichier
 | ||
|     des utilisateurs. S'il n'est pas absolu, il est consid<69>r<EFBFBD> comme
 | ||
|     relatif au r<>pertoire d<>fini par la directive <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>.</p>
 | ||
| 
 | ||
|     <p>Chaque ligne du fichier des utilisateurs se compose du nom de
 | ||
|     l'utilisateur, du caract<63>re ':' et du mot de passe chiffr<66>. Si le
 | ||
|     m<>me identifiant utilisateur est r<>f<EFBFBD>renc<6E> plusieurs fois,
 | ||
|     <code class="module"><a href="../mod/mod_authn_file.html">mod_authn_file</a></code> utilisera la premi<6D>re occurence pour
 | ||
|     v<>rifier le mot de passe.</p>
 | ||
| 
 | ||
|      <p>Le format du mot de passe chiffr<66> d<>pend du frontal
 | ||
|      d'authentification utilis<69> (par exemple
 | ||
|      <code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code> ou
 | ||
|      <code class="module"><a href="../mod/mod_auth_digest.html">mod_auth_digest</a></code>). Voir la documentation sur les
 | ||
|      <a href="../misc/password_encryptions.html">Formats de mots de
 | ||
|      passe</a> pour plus de d<>tails.</p>
 | ||
| 
 | ||
|     <p>Pour <code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code>, utilisez le programme
 | ||
|     <code class="program"><a href="../programs/htpasswd.html">htpasswd</a></code> fourni avec la distribution binaire,
 | ||
|     mais que vous trouverez aussi dans le r<>pertoire
 | ||
|     <code>src/support</code> de l'arborescence des sources. Voir sa <a href="../programs/htpasswd.html">page de manuel</a> pour plus de
 | ||
|     d<>tails. En bref :</p>
 | ||
| 
 | ||
|     <p>On cr<63>e un fichier de mots de passe <code>nom-fichier</code> avec
 | ||
|     <code>nom-utilisateur</code> comme identifiant initial. Le mot de
 | ||
|     passe correspondant sera alors demand<6E> :</p>
 | ||
| 
 | ||
|     <div class="example"><p><code>
 | ||
|       htpasswd -c nom-fichier nom-utilisateur
 | ||
|     </code></p></div>
 | ||
| 
 | ||
|     <p>Pour ajouter ou modifier <code>nom-utilisateur2</code> dans le
 | ||
|     fichier de mots de passe <code>nom-fichier</code> :</p>
 | ||
| 
 | ||
|     <div class="example"><p><code>
 | ||
|       htpasswd nom-fichier nom-utilisateur2
 | ||
|     </code></p></div>
 | ||
| 
 | ||
|     <p>Noter qu'une recherche dans de grands fichiers texte peut <20>tre
 | ||
|     tr<74>s longue ; dans ce cas, il vaut mieux utiliser les fichiers DBM
 | ||
|     avec la directive <code class="directive"><a href="../mod/mod_authn_dbm.html#authdbmuserfile">AuthDBMUserFile</a></code>.</p>
 | ||
| 
 | ||
|     <p>Pour <code class="module"><a href="../mod/mod_auth_digest.html">mod_auth_digest</a></code>, vous devez utiliser
 | ||
|     le programme <code class="program"><a href="../programs/htdigest.html">htdigest</a></code>.
 | ||
|     Notez que vous ne pouvez pas m<>langer des donn<6E>es utilisateur pour
 | ||
|     l'Authentification HTTP <20> base de condens<6E> et des donn<6E>es pour
 | ||
|     l'Authentification de Base dans le m<>me fichier.</p>
 | ||
| 
 | ||
|     <div class="warning"><h3>S<>curit<69></h3>
 | ||
|       <p>Assurez-vous que le fichier <code class="directive">AuthUserFile</code>
 | ||
|       soit bien stock<63> en dehors de l'arborescence des documents du
 | ||
|       serveur web. Ne placez <strong>pas</strong> ce fichier dans le
 | ||
|       r<>pertoire qu'il prot<6F>ge. Dans le cas contraire, les clients
 | ||
|       seraient en mesure de t<>l<EFBFBD>charger le fichier des mots de passe.</p>
 | ||
|     </div>
 | ||
| 
 | ||
| </div>
 | ||
| </div>
 | ||
| <div class="bottomlang">
 | ||
| <p><span>Langues Disponibles: </span><a href="../en/mod/mod_authn_file.html" hreflang="en" rel="alternate" title="English"> en </a> |
 | ||
| <a href="../fr/mod/mod_authn_file.html" title="Fran<61>ais"> fr </a> |
 | ||
| <a href="../ja/mod/mod_authn_file.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
 | ||
| <a href="../ko/mod/mod_authn_file.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
 | ||
| </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Commentaires</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
 | ||
| <script type="text/javascript"><!--//--><![CDATA[//><!--
 | ||
| var comments_shortname = 'httpd';
 | ||
| var comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/mod_authn_file.html';
 | ||
| (function(w, d) {
 | ||
|     if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
 | ||
|         d.write('<div id="comments_thread"><\/div>');
 | ||
|         var s = d.createElement('script');
 | ||
|         s.type = 'text/javascript';
 | ||
|         s.async = true;
 | ||
|         s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
 | ||
|         (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
 | ||
|     }
 | ||
|     else {
 | ||
|         d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
 | ||
|     }
 | ||
| })(window, document);
 | ||
| //--><!]]></script></div><div id="footer">
 | ||
| <p class="apache">Copyright 2013 The Apache Software Foundation.<br />Autoris<69> sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
 | ||
| <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
 | ||
| if (typeof(prettyPrint) !== 'undefined') {
 | ||
|     prettyPrint();
 | ||
| }
 | ||
| //--><!]]></script>
 | ||
| </body></html> |