This is a small but efficient module that allows administrator to limit the number of submissions of node of a particular node type, admin can choose the node type and the user role and can set the
Monitors the number of emails sent by your site. Useful to be sure none of your Drupal modules/custom php code is being abused for sending inappropriate messages.
This module offers a generic approach to store password-like secrets into the
database. Just like a password, a secret does not get stored in plain text but
rather a salted hash thereof. Therefore the clear text of a secret cannot be
retrieved from the database. But given a clear text string it is possible to
verify if it matches the hash stored in the database.
API
The secret module does not expose any user interface but only two methods and
one hook which can be used by third party modules.
secrets_put_secret($password, $expire = 0x7FFFFFFF)
Given a password in plain text, create a new record in the database which is valid until the given expiry date (unix timestamp). Returns the sid (secret id) on success.
secret_check_secret($sid, $password)
Verify if the given plain text password matches the secret with the given sid. Returns true or false.
hook_secrets_delete_multiple(array $sids)
Invoked whenever one or more secrets are going to be deleted (after hitting their expiry date).