[svnbook] r5737 committed - branches/1.8/zh/book/ ch06-server-configuration.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Mon Jul 30 09:54:43 CDT 2018


Revision: 5737
          http://sourceforge.net/p/svnbook/source/5737
Author:   wuzhouhui
Date:     2018-07-30 14:54:41 +0000 (Mon, 30 Jul 2018)
Log Message:
-----------
1.8/zh: translation of chapter 6 in progress

Modified Paths:
--------------
    branches/1.8/zh/book/ch06-server-configuration.xml

Modified: branches/1.8/zh/book/ch06-server-configuration.xml
===================================================================
--- branches/1.8/zh/book/ch06-server-configuration.xml	2018-07-29 06:07:59 UTC (rev 5736)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-07-30 14:54:41 UTC (rev 5737)
@@ -3987,8 +3987,12 @@
 
     <!-- =============================================================== -->
     <sect2 id="svn.serverconfig.httpd.authz">
+      <!--
       <title>Authorization Options</title>
+      -->
+      <title>授权选项</title>
 
+      <!--
       <para>At this point, you've configured authentication, but not
         authorization.  Apache is able to challenge clients and
         confirm identities, but it has not been told how to allow or
@@ -3995,15 +3999,27 @@
         restrict access to the clients bearing those identities.  This
         section describes two strategies for controlling access to
         your repositories.</para>
+      -->
+      <para>到这里为止, 你已经知道了如何配置认证, 但还没有提到授权. Apache 可
+        以要求客户端认证他们的身份, 但 Apache 还不知道如何允许或限制客户端
+        的访问权限, 本节将介绍两种控制客户端对仓库的访问权限的策略.</para>
 
       <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
       <sect3 id="svn.serverconfig.httpd.authz.blanket">
+      <!--
         <title>Blanket access control</title>
+      -->
+        <title>完全访问控制</title>
 
+      <!--
         <para>The simplest form of access control is to authorize
           certain users for either read-only access to a repository or
           read/write access to a repository.</para>
+      -->
+        <para>访问控制最简单的形式是只授权特定的用户可以对仓库进行读取或读写.
+        </para>
 
+      <!--
         <para>You can restrict access on all repository operations by
           adding <literal>Require valid-user</literal> directly inside
           the <literal><Location></literal> block.  The example
@@ -4010,6 +4026,11 @@
           from <xref linkend="svn.serverconfig.httpd.authn.digest"/>
           allows only clients that successfully authenticate to do
           anything with the Subversion repository:</para>
+      -->
+        <para>你可以通过在 <literal><Location></literal> 添加
+          <literal>Require valid-user</literal>, 从而允许用户对仓库执行所有
+          可能的操作. <xref linkend="svn.serverconfig.httpd.authn.digest"/>
+          的例子只允许成功认证的客户端对 Subversion 仓库执行任意的操作:</para>
 
         <informalexample>
           <programlisting>




More information about the svnbook-dev mailing list