Changes between Version 2 and Version 3 of AccountControl


Ignore:
Timestamp:
Jul 25, 2007, 11:51:10 AM (17 years ago)
Author:
Nicolas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AccountControl

    v2 v3  
    33Under normal circumstances BOINC projects are open for participation by anybody who wants to contribute their computer to the project. There may be times, however, when a project needs to limit the creation of new accounts. BOINC offers two alternatives.
    44
    5 == Disabling account creation ==
     5== Disabling account creation == #disabling-account-creation
    66
    7 To disable all account creation, edit the project configuration file config.xml and add to it the element:
     7To disable all account creation, edit the project configuration file [ProjectOptions config.xml] and add to it the element:
    88{{{
    99<disable_account_creation>1</disable_account_creation>
    1010}}}
    1111
    12 This disables account creation via any mechanism (the client, the web, or account managers). You can momentarily remove this element while you create accounts.
     12This disables account creation via any mechanism (the client, the web, or [AccountManagers account managers]). You can momentarily remove this element while you create accounts.
    1313
    14 == Restricting account creation via 'invitation codes' ==
     14== Restricting account creation via 'invitation codes' == #invite-codes
    1515
    16 It is also possible to restrict account creation to only those who present a secret 'invitation code'. In this case an account can only be created via the web pages, not via the client or an account manager.
     16It is also possible to restrict account creation to only those who present a secret 'invitation code'. In this case an account can only be created via the web pages, not via the client or an [AccountManagers account managers].
    1717
    18 To use this mechanism you need to add to the file `html/project/project.inc` a definition for a PHP pre-processor symbol INVITE_CODES containing the allowed invitation codes. A simple example is:
     18To use this mechanism you need to add to the file `html/project/project.inc` a definition for a PHP constant `INVITE_CODES` containing the allowed invitation codes. A simple example is:
    1919
    2020{{{
     
    2222}}}
    2323
    24 This allows account creation only if the user enters the invitation code 'xyzzy' (without any quotes). The pattern in INVITE_CODES is compared to the user's input as a [http://us2.php.net/manual/en/reference.pcre.pattern.syntax.php Perl-Compatible Regular Expression (PCRE)], so don't forget the enclosing slashes. A more complicated example is:
     24This allows account creation only if the user enters the invitation code 'xyzzy' (without any quotes). The pattern in INVITE_CODES is compared to the user's input as a [http://php.net/reference.pcre.pattern.syntax Perl-Compatible Regular Expression (PCRE)], so don't forget the enclosing slashes. A more complicated example is:
    2525
    2626{{{