CHAPTER 4 ADDING CONTRIBUTED MODULES 141 Whitelisting (Web design programs)

CHAPTER 4 ADDING CONTRIBUTED MODULES 141 Whitelisting filters should be used sparingly and only in the context of training the filter not to repeat false positive identifications that it has made. The reason for this should be clear: if you open up the door for content to automatically be considered never spam, you can t be too surprised when spammers start walking through it. If you are being bombarded with spam from a single source and you can block this source with one filter, and you are positive that the filter will not have any false positives, you might elect to check the Automatically Delete Spam check box. When checked, content matching this filter will be deleted from your site without any warning or notification. This is intended as an extreme defense when your site is suffering from the efforts of a concerted attack. Due to the extreme nature of this option, it is recommended only in last-resort cases. In most normal cases, you will want to have the option of browsing spam content to double-check that no false positives are being made. Using Other Filters In the contributed/custom_filters folder in the Spam module archive, you will find some SQL data dumps of custom filters that others have contributed based on experience from their sites. As noted earlier, you can choose to import these data dumps into your database and benefit from them as well. Here are some examples from the file teledyn.mysql: /b(mortgage|credit|kredit|casino|poker|debt)S*.w{2,3}b/i /b(texas-holdem|onlinegames|blackjack|bingo)S*.w{2,3}b/i These expressions look for domains that contain any of the list of words mortgage, credit, casino, bingo, and so on. The domain bingo123-use.la would be matched, for example. If you decide to use third-party filters, make sure to monitor the content that is being marked as spam to be on the lookout for false positives. Database Administration Module The Database Administration (dba) module allows you to view, edit, repair, and create backups for your Drupal database, all from within the administrator s web interface. It is a practical and convenient way to run SQL queries and view the results. It can also be used to import the database definitions for new modules, possibly saving you a trip to another application or command-line tool. Installing the Database Administration Module To install the dba module, download the latest version from http://drupal.org/project/dba. Then create a modules/dbafolder and copy the dba.modulefile into it. If you are using PostgreSQL as your database, you need to take the extra steps found in the README.pgsqlfile. Finally, activate the module from the admin/modulespage. Configuring the Database Administration Module The most important configuration decisions you need to make concerning the dba module have to do with user permissions. You can also set options for automatic backups and checking the database integrity.
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision best web hosting services

Leave a Reply