31.6. Limiting User Access

This section explains how to configure the CVS server to limit which users are allowed to write to the repository. This can be useful if you want to give anyone on the Internet access to your source code. For example, if you are hosting an open-source project. A user with no password but read-only access could be created for anyone in the world to log in as, while developers log in with password-protected accounts that have full read-write privileges.

To restrict write access to your server, follow these steps:

1.
On the module's main page, click on the User Access Control icon. This will take you to a form listing users who currently have read and write access.

2.
To give read-only access to only a few users and read-write to the rest, select the Listed users are read-only radio button. Then, enter the names of those users who should not be able to write to the repository into the left-hand text box provided. On the right, the option All users can write should be selected.

Alternately, to give read-write access to a few users and read-only to everyone else, select Only listed users can write. Then, enter the names of those users who will be able to write to the CVS repository into the right-hand text box. On the left, No read-only users should be selected.

There is not much point entering usernames into both boxes, as any user who is in both lists will be given read-only access.

3.
Click the Save button to make your changes immediately active and return to the module's main page.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.240.230