Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
The Deny Access module (Drupal 7 only!) allows overriding access granted by other node access modules and/or core. It uses the node access system but not the {node_access} table, and so if you don't have any other node access module installed, then it does not carry the typical overhead. The downside is that it will not work to guard against showing lists of nodes, like lists created by the Views module or the front page. At this point it's a very simple module.
Deny Access provides the following global 'permissions' on the Permissions page, admin/people/permissions#module-deny_access:
DENY accessing any content
Override content view access (to single nodes!) granted by other modules.
DENY creating any content
Override content create access granted by other modules.
DENY editing any content
Override content edit access granted by other modules.
DENY deleting any content
Override content delete access granted by other modules.
DENY access per content type
Generally override access (to single nodes only!) for a specific content type.
This module makes it easy to add Open Graph meta tags (http://opengraphprotocol.org/) to a node to enable it to be come a "rich" social object. For instance, Facebook uses this information to work out how to preview shared content in a user's Facebook profile (http://developers.facebook.com/docs/share).
Features
Easily select the image thumbnail used to represent the node (used by Facebook when constructing a preview). The editor is shown a list of thumbnails of all images associated with the node (both as fields as well as images embedded within the node's body content).
Set default values for OG meta tags across all nodes and then override them on a node-by-node basis.
Restrict the use of OG meta tags to specific content types.
Restrict access to administering the module to specific roles
Installation
Add the following XML namespace attribute to the HTML tag at the top of your page.tpl.php file:
Note that this module does not output the fb:admins or fb:app_id tags which are required for integrating with Facebook. There are other modules which will help you with these tags:
This module allows you to control anonymous commenting per node type via the node type edit screen once anonymous user is given the 'post comments' permission.