-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpsm.security.html
72 lines (72 loc) · 3.92 KB
/
psm.security.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>4. pySvnManager 本身的认证和授权</title>
<link rel="stylesheet" href="/stylesheets/master.css" type="text/css">
<link rel="stylesheet" href="/stylesheets/syntax.css" type="text/css">
<link rel="stylesheet" href="/docbook/includes/css/docbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="敏捷 Web 开发实践">
<link rel="up" href="index.html" title="敏捷 Web 开发实践">
<link rel="prev" href="psm.pylons.controller.others.html" title="3.5. 实现其他的控制器">
<link rel="next" href="psm.security.initial.html" title="4.1. 为 BaseController 增加 __before__ 方法">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<script language="javascript" type="text/javascript" src="/docbook/includes/js/header.js"></script><script language="javascript"> write_header("/docbook"); </script><div class="navheader">
<table width="100%" summary="Navigation header">
<tr><th colspan="3" align="center">4. pySvnManager 本身的认证和授权</th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="psm.pylons.controller.others.html"><img src="/docbook/includes/images/docbook/prev.png" alt="上一页"></a> </td>
<th width="60%" align="center"> </th>
<td width="20%" align="right"> <a accesskey="n" href="psm.security.initial.html"><img src="/docbook/includes/images/docbook/next.png" alt="下一页"></a>
</td>
</tr>
</table>
<hr>
</div>
<div class="sect1" lang="zh-cn">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="psm.security"></a>4. pySvnManager 本身的认证和授权</h2></div></div></div>
<div class="toc"><dl>
<dt><span class="sect2"><a href="psm.security.initial.html">4.1. 为 BaseController 增加 __before__ 方法</a></span></dt>
<dt><span class="sect2"><a href="psm.security.enable.html">4.2. 为控制器中增加授权</a></span></dt>
<dt><span class="sect2"><a href="psm.security.controller.html">4.3. Security 控制器实现</a></span></dt>
<dt><span class="sect2"><a href="psm.security.authz.html">4.4. pySvnManager 授权</a></span></dt>
<dt><span class="sect2"><a href="psm.security.unittest.html">4.5. 添加认证后的单元测试</a></span></dt>
</dl></div>
<p>pySvnManager 作为 Subversion 授权管理的软件,如果本身没有认证和授权机制,
就会成为系统最大的漏洞。为此我们迫切需要为我们的应用增加认证和授权。还好,
这实现起来并不是很困难。</p>
</div>
<table class="copyright" border="0" cellpadding="0" cellspacing="0" width="100%">
<col width="33%">
<col width="33%">
<col width="33%">
<tr>
<td></td>
<td align="center" valign="center"></td>
<td align="right" valign="center"><p class="copyright">
Copyright © 2006 <a href="http://www.worldhello.net/doc/"><b>WorldHello 开放文档之源</b> 计划</a></p></td>
</tr>
</table>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="psm.pylons.controller.others.html"><img src="/docbook/includes/images/docbook/prev.png" alt="上一页"></a> </td>
<td width="20%" align="center"> </td>
<td width="40%" align="right"> <a accesskey="n" href="psm.security.initial.html"><img src="/docbook/includes/images/docbook/next.png" alt="下一页"></a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">3.5. 实现其他的控制器 </td>
<td width="20%" align="center"><a accesskey="h" href="index.html"><img src="/docbook/includes/images/docbook/home.png" alt="首页"></a></td>
<td width="40%" align="right" valign="top"> 4.1. 为 BaseController 增加 __before__ 方法</td>
</tr>
</table>
</div>
<script language="javascript" type="text/javascript" src="/docbook/includes/js/footer.js"></script><script language="javascript"> write_footer("/docbook"); </script>
</body>
</html>