[svnbook] r5749 committed - branches/1.8/zh/book/ ch06-server-configuration.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Fri Aug 17 21:35:54 CDT 2018
Revision: 5749
http://sourceforge.net/p/svnbook/source/5749
Author: wuzhouhui
Date: 2018-08-18 02:35:52 +0000 (Sat, 18 Aug 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-08-18 02:06:57 UTC (rev 5748)
+++ branches/1.8/zh/book/ch06-server-configuration.xml 2018-08-18 02:35:52 UTC (rev 5749)
@@ -2891,7 +2891,7 @@
default, <command>svnserve</command> will not perform
any case normalization on usernames.</para>
-->
- <para>在和访问权限文件 (由选项 <option>authz-db</option> 指定)
+ <para>在和访问权限配置文件 (由选项 <option>authz-db</option> 指定)
里的规则比较之前, 指定用户名的大小写形式, 有效值包括
<literal>upper</literal> (用户名的大小写形式),
<option>lower</option> (用户名的小写形式) 和
@@ -4192,7 +4192,8 @@
<literal>AuthzSVNAccessFile</literal> 指定一个文件, 这个文件包含
了仓库内各个文件路径的权限策略. 从 Subversion 1.7 开始, 还可以用
配置指令 <literal>AuthzSVNReposRelativeAccessFile</literal> 指定
- 每个仓库的访问文件. (过一会儿, 我们就会讨论该文件的格式.)</para>
+ 每个仓库各自的访问权限配置文件. (过一会儿, 我们就会讨论该文件的
+ 格式.)</para>
<!--
<para>Apache is flexible, so you have the option to configure
@@ -4448,8 +4449,12 @@
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<sect3 id="svn.serverconfig.httpd.authz.inrepo-authz">
+ <!--
<title>Versioned in repository access files</title>
+ -->
+ <title>存放在仓库内的访问权限配置文件</title>
+ <!--
<para>Beginning with Subversion 1.8, access files can be stored
inside a Subversion repository. It is possible to store the
access file in the same repository to which the
@@ -4456,19 +4461,38 @@
access rules are being applied or another repository. This
approach enables versioning features of Subversion for
the path-based authorization configuration.</para>
+ -->
+ <para>从 Subversion 1.8 开始, 访问权限配置文件可以存放在仓库内, 文件
+ 内甚至可以包含针对其他仓库的访问规则. 这个功能为 Subversion 基于
+ 路径的授权配置添加了版本控制的特性.</para>
+ <!--
<para>Both <literal>AuthzSVNAccessFile</literal> and
<literal>AuthzSVNReposRelativeAccessFile</literal> configuration
directives allow to specify in-repository access file's location.
The directives accept absolute <literal>file://</literal> URLs
and repository relative URLs (one which begins with ^/).</para>
+ -->
+ <para>配置指令 <literal>AuthzSVNAccessFile</literal> 和
+ <literal>AuthzSVNReposRelativeAccessFile</literal> 都可以用来指定
+ 仓库内的访问权限配置文件的位置. 配置指令的参数既可以是表示绝对路径
+ 的 <literal>file://</literal>, 也可以是表示相对路径的 URL (以
+ <literal>^/</literal> 开始).</para>
+ <!--
<para>For example, it is possible to specify an absolute URL to
in-repository access file as shown in
<xref linkend="svn.serverconfig.httpd.authz.inrepo-authz.ex-1"/>.</para>
+ -->
+ <para>比如说, 可以像 <xref
+ linkend="svn.serverconfig.httpd.authz.inrepo-authz.ex-1"/> 那样,
+ 为仓库内的访问权限配置文件指定一个绝对路径.</para>
<example id="svn.serverconfig.httpd.authz.inrepo-authz.ex-1">
+ <!--
<title>Using single versioned in repo access file</title>
+ -->
+ <title>为多个仓库指定同一个位于仓库内的访问配置文件</title>
<programlisting>
<Location /repos>
DAV svn
@@ -4478,12 +4502,20 @@
</programlisting>
</example>
+ <!--
<para>You can also specify a relative URL to an in repository access
file as demonstrated in
<xref linkend="svn.serverconfig.httpd.authz.inrepo-authz.ex-2"/>.</para>
+ -->
+ <para>还可以像 <xref
+ linkend="svn.serverconfig.httpd.authz.inrepo-authz.ex-2"/> 那样
+ 为仓库内的访问权限配置文件指定一个相对路径.</para>
<example id="svn.serverconfig.httpd.authz.inrepo-authz.ex-2">
+ <!--
<title>Using per repository in repo access files</title>
+ -->
+ <title>为每个仓库都指定一个仓库内的访问配置文件</title>
<programlisting>
<Location /repos>
DAV svn
@@ -4499,8 +4531,12 @@
<!-- =============================================================== -->
<sect2 id="svn.serverconfig.httpd.ssl">
+ <!--
<title>Protecting network traffic with SSL</title>
+ -->
+ <title>使用 SSL 保护网络流量</title>
+ <!--
<para>Connecting to a repository via <literal>http://</literal>
means that all Subversion activity is sent across the network
in the clear. This means that actions such as checkouts,
@@ -4508,6 +4544,11 @@
unauthorized party <quote>sniffing</quote> network traffic.
Encrypting traffic using SSL is a good way to protect
potentially sensitive information over the network.</para>
+ -->
+ <para>通过 <literal>http://</literal> 连接仓库意味着 Subversion 所
+ 有的活动都会在网络上暴露无遗, 也就是说像检出, 提交和更新这些操作
+ 都有可能被未授权的网络嗅探工具所拦截. 使用 SSL 加密网络流量是保护
+ 敏感数据不在网络上泄露的常用方法.</para>
<para>If a Subversion client is compiled to use OpenSSL,
it gains the ability to speak to an Apache server via
More information about the svnbook-dev
mailing list