diff --git a/nodeblock.module b/nodeblock.module
index d67a79c..5090f22 100755
--- a/nodeblock.module
+++ b/nodeblock.module
@@ -52,13 +52,23 @@ function nodeblock_type_comment_link($type) {
 }
 
 /**
+ * Utility function to retrive hide unpublished setting
+ */
+function nodeblock_type_hide_unpublished($type) {
+  $type = field_extract_bundle('node', $type);
+
+  return variable_get('nodeblock_hide_unpublished_' . $type, 0);
+}
+
+/**
  * Utility function to retrieve variable settings for an individual block
  */
 function nodeblock_block_variable_get($delta) {
   $defaults = array(
       'comment_link' => 'node_block_default', 
       'node_link' => 'node_block_default', 
-      'view_mode' => 'node_block_default');
+      'view_mode' => 'node_block_default',
+      'hide_unpublished' => 'node_block_default');
   
   $settings = variable_get('nodeblock_block_' . $delta, $defaults); 
   
@@ -153,6 +163,13 @@ function nodeblock_form_alter(&$form, &$form_state, $form_id) {
           '#options' => $options,
           '#description' => t("Select the default Comment link display for Node Blocks of this Content Type."),
         ),
+        'nodeblock_hide_unpublished' => array(
+          '#type' => 'radios',
+          '#title' => t('Always hide unpublished nodes'),
+          '#default_value' => nodeblock_type_hide_unpublished($form['#node_type']),
+          '#options' => array(0 => t('Normal'), 1 => t('Hidden')),
+          '#description' => t('Always hide nodes that are unpublished even if user priviledges would allow viewing of unpublished nodes?'),
+        ),
     );
   }
   // node add/edit form
@@ -262,6 +279,11 @@ function nodeblock_block_view($delta = '') {
     return;
   }
   $settings = nodeblock_block_variable_get_values($delta, $node->type);
+  
+  if ($node->status == 0 && (bool)$settings['hide_unpublished']) {
+    return;
+  }
+  
   $lang = LANGUAGE_NONE;
   // if the node type is translatable, try to load the node with the appropriate
   // language from the translation set.
@@ -350,6 +372,13 @@ function nodeblock_block_configure($delta = '') {
       '#title' => t('Node Comments Display'),
       '#group' => 'nodeblock',
     ),
+    'hide_unpublished' => array(
+      '#type' => 'radios',
+      '#options' => array(0 => t('Normal'), 1 => t('Hidden')),
+      '#default_value' => $defaults['hide_unpublished'],
+      '#title' => t('Always hide unpublished nodes'),
+      '#group' => 'nodeblock',
+    ),
   );
   return $form;
 }
@@ -358,7 +387,7 @@ function nodeblock_block_configure($delta = '') {
  * hook_block_save
  */
 function nodeblock_block_save($delta = '', $edit = array()) {
-  variable_set('nodeblock_block_' . $delta, array('view_mode' => $edit['view_mode'], 'node_link' => $edit['node_link'], 'comment_link' => $edit['comment_link']));
+  variable_set('nodeblock_block_' . $delta, array('view_mode' => $edit['view_mode'], 'node_link' => $edit['node_link'], 'comment_link' => $edit['comment_link'], 'hide_unpublished' => $edit['hide_unpublished']));
 }
 
 /**
