Changes between Version 11 and Version 12 of ProtectionFromSpam
- Timestamp:
- Jun 10, 2014, 10:08:35 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProtectionFromSpam
v11 v12 1 1 [[PageOutline]] 2 = Protection fromspam =2 = Dealing with spam = 3 3 4 Spammers may attack your project in two ways:4 Spammers may attack your project's web site in two ways: 5 5 6 * Creating profiles with links to commercial web sites 7 (for advertising, or to increase Google page rank). 6 * Creating spam profiles. 8 7 * Posting spam on the message boards. 8 9 The spam typically contains links to commercial web sites 10 (for advertising, or to increase Google page rank). 9 11 10 12 Spammers will use automated scripts to do these if they can, 11 13 but they will also do them manually. 12 14 15 == Cleaning up spam == 16 17 The script '''html/ops/delete_spammers.php''' can be used to clean up spam. 18 It deletes selected user accounts, including their profile and forum posts. 19 The usage is 20 {{{ 21 delete_spammers.php [--days N] [--test] command 22 }}} 23 '''--days N''': if present, only accounts created in the last N days are deleted. 24 25 '''--test''': if present, print the accounts that would be deleted, but don't delete them. 26 27 '''command''' is one of: 28 29 '''--profiles''': delete accounts that 30 * have a profile containing a link 31 * have no forum posts 32 * have no hosts 33 34 '''--forums''': delete accounts that 35 * have no hosts 36 * have forum posts 37 * don't belong to a team (don't delete BOINC-wide team founders) 38 39 '''--list filename''': 40 The given file contains a list of user IDs, one per line. 41 Delete these accounts. 42 Use this only for accounts with no hosts. 43 44 '''--id_range N M''': delete users with database IDs N to M inclusive. 45 Use this only for accounts with no hosts. 46 13 47 == Preventing automated profile creation == 14 48 === Using reCAPTCHA === 15 49 To prevent automated profile creation, [http://recaptcha.net/ reCAPTCHA] system can be used. 16 For every profile modification it displays an image containing two words that the user needs to input. 17 While the image is quite easily solvable by human visitors, automated systems have problems solving the CAPTCHA image, 18 and are therefore denied access. 50 For every profile modification it displays an image containing text, 51 which is recognizable to humans but not computers. 19 52 20 In order to use reCAPTCHA, you haveto register your web site on [http://recaptcha.net/] and acquire a set of keys.21 Once the web site is registered, you need toadd your keys to config.xml:53 In order to use reCAPTCHA, to register your web site on [http://recaptcha.net/] and acquire a set of keys. 54 Once the web site is registered, add your keys to config.xml: 22 55 {{{ 23 56 <recaptcha_public_key>Alphanumeric string</recaptcha_public_key> … … 29 62 To do so, put a {{{<profile_min_credit>}}} element in your [ProjectOptions config.xml] file 30 63 31 == Cleaning up spam accounts ==32 33 You can use the script '''html/ops/delete_spammers.php''' to clean up spam profiles.34 This can be used in two ways:35 {{{36 delete_spammers.php --list list_file37 }}}38 The given file contains a list of user IDs, one per line.39 Delete the user accounts, message-board posts, and profiles40 Use this only for accounts with no hosts.41 {{{42 delete_spammers.php --auto43 }}}44 Delete account and profiles that have no hosts, no message boards posts,45 and for which the profile contains a link.46 Use this with caution.47 See the script source code.48 {{{49 delete_spammers.php --id_range N M50 }}}51 Delete accounts with database IDs N to M inclusive.52 53 64 == Protecting message boards from spam == 54 65 55 66 === Akismet === 56 BOINC message boards may occasionallybe attacked by spammers.67 BOINC message boards may be attacked by spammers. 57 68 The anti-spam system from [http://www.akismet.com/ akismet.com] can be used to deal with this. 58 69 … … 65 76 The API key will be emailed to you after you register. 66 77 67 ''Note: If you are a commercial entity or if you are making more than $500 from your website, please get a commercial key instead.'' 78 ''Note: If you are a commercial entity or if you are making more than $500 from your website, 79 please get a commercial key instead.'' 68 80 69 81 Once you have the key, you have to add a new tag to your [ProjectOptions config.xml] to enable the system: