Complete SVN version Library Construction Scheme (added the function of modifying the password by yourself)

Source: Internet
Author: User
Patch uploaded,: http://download.csdn.net/detail/tiwen818/3804490

1. Introduction 1. 1. Writing Purpose

The existing SVN software is difficult to maintain, such as creating and modifying user accounts, permissions, and groups. Once an account is created, there is no way to change the password for the user, over time, these SVN became less secure, and everyone applied well-known passwords to the company's security and confidentiality work, which greatly reduced the cost. To solve various SVN maintenance problems, I wrote the svn library construction solution, hoping to establish a safe and effective solution on these issues to make up for the shortcomings of official tools.

1. 2. Objectives

1. achieve unified GUI Management of SVN databases of various projects;

2. Strengthen data confidentiality and provide the user's self-help password modification function; enable self-help password maintenance;

1. Definition

Terms

Description

SVN

The full name of SVN is subversion. It is a free/open-source version control system.

Apache

Web server software.

Visualsvn

Visualsvn is a server software built on the svn public edition.

 

2. System implementation

This solution uses Visual SVN server for graphical and unified management. The advantage is that this product is free of charge and is well integrated with Apache. Users can log on to the svn database over HTTP to view SVN database data. Secondly, visual SVN server has encapsulated SVN maintenance functions and provided graphical display, enhancing ease of use. Finally, we added our custom online password change function to enable users to modify their own SVN passwords.

2.1. System Installation

Official http://www.visualsvn.com/server/download/download the svnservice software, click to install.

During the installation process, note that the respositories path is the home directory address of the repository. Generally, You need to allocate a large disk path. By default, secure connections to HTTPS are checked and can be removed, use port 80 directly.

 

Click "uncompress" to modify the password patch. rar on the line. You need to modify the password in two places.

First modify point conf \ httpd-custom.conf

Change the following red part to your visualsvnserver installation path.

 

 

<Directory"C:/program files/visualsvn server/Cgi-bin ">

AllowOverride none

Options all

</Directory>

ScriptAlias/cgi-bin /"C:/program files/visualsvn Server/Cgi-bin /"

Loadmodule alias_module modules/mod_alias.so

Loadmodule cgi_module modules/mod_cgi.so

Addhandler CGI-script. cgi

Addhandler CGI-script. pl

 

The second modification point is cgi-bin \ apache22passwd. cgi. ini.

Change the red part to the address of your SVN repository verification file. For example, if the repository is installed in D: \ repositories, the corresponding verification file is D: \ repositories \ htpasswd.

 

[Path]

Auth_user_file =D: \ repositories \ htpasswd

LOG_FILE = svnpass. Log

 

Finally, copy the Four folders in the patch package to the installation directory of the visual SVN server and restart the service. Refresh the page and we can see the password change link. Click it to access the password change page.

2. Unified management

Figure 2.2-1

Add a version library, as shown in figure

 

Optional. automatically create trunk, branches, and tags.



Create user

Set the user permissions of the version Library

 



Authorize the user or group as follows:


2. security and confidentiality

The version server is maintained by a dedicated person, and the account or permission applied for is operated by a designated person. It provides self-help online password modification, so that the password can be automatically modified and controlled to ensure the security of each user's password.


2.4. Summary

Visual SVN has been integrated with Apache and subversion. Therefore, we only need to use visual SVN as the version server. Apache provides Web browsing code capabilities, developers do not need to update the entire directory every time they get a document. Of course, programs that change passwords online on the web are also running based on Apache. Visualsvn is a server software built on the svn public edition. It provides a visual interface for SVN. The addition of these two layers will effectively improve the svn file browsing experience and enhance the management of SVN Data configuration.



Original article, if reproduced, please mark the author: Tian Wen csdn address: http://blog.csdn.net/tiwen818

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.