mirror of
https://github.com/apache/httpd.git
synced 2025-04-18 22:24:07 +03:00
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914881 13f79535-47bb-0310-9956-ffa450edef68
82 lines
3.1 KiB
Plaintext
82 lines
3.1 KiB
Plaintext
<?xml version="1.0"?>
|
|
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
|
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
|
|
<!-- English Revision : 1587032 -->
|
|
<!-- French translation : Lucien GENTIS -->
|
|
<!-- Reviewed by : Vincent Deffontaines -->
|
|
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<modulesynopsis metafile="mod_authz_user.xml.meta">
|
|
|
|
<name>mod_authz_user</name>
|
|
<description>Autorisation basée sur l'utilisateur</description>
|
|
<status>Base</status>
|
|
<sourcefile>mod_authz_user.c</sourcefile>
|
|
<identifier>authz_user_module</identifier>
|
|
|
|
<summary>
|
|
<p>Ce module permet d'accorder ou de refuser l'accès à certaines
|
|
zones du site web aux utilisateurs authentifiés.
|
|
<module>mod_authz_user</module> accorde l'accès si l'utilisateur
|
|
authentifié fait partie de la liste spécifiée par une directive
|
|
<code>Require user</code>. On peut aussi utiliser la directive
|
|
<code>Require valid-user</code> pour accorder l'accès à tous les
|
|
utilisateurs qui ont été authentifiés avec succès.</p>
|
|
</summary>
|
|
<seealso><directive module="mod_authz_core">Require</directive></seealso>
|
|
|
|
<section id="requiredirectives"><title>The Require Directives</title>
|
|
|
|
<p>Les directives <directive
|
|
module="mod_authz_core">Require</directive> d'Apache permettent,
|
|
au cours de la phase d'autorisation, de s'assurer qu'un utilisateur
|
|
est bien autorisé à accéder à une
|
|
ressource. mod_authz_user ajoute
|
|
les types d'autorisation <code>user</code> et <code>valid-user</code>.
|
|
</p>
|
|
|
|
<p>A partir de la version 2.4.8, les directives require user
|
|
supportent les <a href="../expr.html">expressions</a>.</p>
|
|
|
|
<section id="requser"><title>Require user</title>
|
|
|
|
<p>Cette directive permet de spécifier une liste d'utilisateurs
|
|
autorisés à accéder à la ressource.</p>
|
|
|
|
<highlight language="config">
|
|
Require user john paul george ringo
|
|
</highlight>
|
|
|
|
</section>
|
|
|
|
<section id="reqvaliduser"><title>Require valid-user</title>
|
|
|
|
<p>Lorsque cette directive est définie, tout utilisateur qui s'est
|
|
authentifié avec succès aura l'autorisation d'accès à la ressource.</p>
|
|
|
|
<highlight language="config">
|
|
Require valid-user
|
|
</highlight>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</modulesynopsis>
|