![]() Securing using SSL is just as easy requiring only a single line. On this page I have shown restricting access to repositories is not difficult. We take the less-draconian solution and add a single line as show blow: Similar to the above only this time no need to create a server certificate (assumes you aready creadted one see above). Top Basic Authentication - Less Draconian SSL Select Bookmarks > Add Existing Repository enter.SSLRequireSSL - Informs Apache connection must be over a secure link using SSL. ![]() Press enter at all prompts to accept the default values.Įdit file C:\a_svn\UniServer\usr\local\apache2\conf\ nf Add add single line as shown:.Mouse-over Advanced and click Server Certificate and key Generator.Left or right mouse click on UniTray Icon.If you have not already created a server certificate do so now as follows: Sounds to good to be true! Well yes because you do require a server certificate. I have show how easy it is to set-up basic authentication and securing this with SSL is just as easy, only requires the addition of a single. After initial authorisation you will not be challenged again during this connection.Will be challenged for a name and password.Make a change in the working copy and commit.Can browse repository and create a new working copy.Separate Require valid-user and target write requests.# Hence this block limits write permission to list of valid users.Įdit file C:\a_svn\UniServer\usr\local\apache2\conf\nf and add the above as shown below: ![]() # For any operations other than these, require an authenticated user. This targets any requests other than a read and forces authentication. The line has been wrapped within a LimitExcept directive. Replace the above line Require valid-user with this block of code. Only developers have the additional capability to commit (write) to a repository. Generally for an open source project you want users to have the ability to brows a repository and download working copies. The above is draconian, only authorised users can view the repository. Top Basic Authentication - Less Draconian
0 Comments
Leave a Reply. |