diff --git a/pdf_reader.module b/pdf_reader.module
index 0f25053..bbda759 100644
--- a/pdf_reader.module
+++ b/pdf_reader.module
@@ -14,6 +14,10 @@ function pdf_reader_permission() {
       'title' => t('Administer PDF Reader'),
       'description' => t('Perform maintenance tasks for PDF Reader'),
     ),
+    'download pdf files' => array(
+      'title' => t('Download PDF files'),
+      'description' => t('Allow to download PDF files'),
+    ),
   );
 }
 
@@ -165,6 +169,10 @@ function theme_pdf_reader($variables) {
       break;
 
     case 'direct':
+      $download_link = '';
+       if (user_access('download pdf files')) {
+        $download_link = t('or') . ' ' . l(t('click here to download the PDF file.'), $file_url);
+      }
       $output = '<object id="pdf_reader" data="' . $file_url . '#view=Fit' . '" '
           . 'type="application/pdf' . '" '
           . 'width="' . $variables['settings']['pdf_width'] . '" '
@@ -175,7 +183,7 @@ function theme_pdf_reader($variables) {
           . 'type="application/pdf">'
           . '<p>' . t('It appears your Web browser is not configured to display PDF files. ')
           . l(t('Download adobe Acrobat '), 'http://www.adobe.com/products/reader.html')
-          . ' ' . t('or') . ' ' . l(t('click here to download the PDF file.'), $file_url) . '</p>'
+          . ' ' . $download_link . '</p>'
           . '</embed></object>';
       break;
 
@@ -185,7 +193,7 @@ function theme_pdf_reader($variables) {
       break;
   }
 
-  if ($variables['settings']['download'] == TRUE) {
+  if ($variables['settings']['download'] == TRUE && user_access('download pdf files')) {
     $output .= l(t('Click here to download the PDF file.'), $file_url, array('attributes' => array('class' => 'pdf-reader-download-link')));
   }
 
@@ -222,4 +230,4 @@ function _pdf_reader_load_pdf_js($file_url) {
   drupal_add_css("$path/css/pdf_reader-viewer.css");
 
   drupal_add_js('kDefaultURL = "' . $file_url . '";', 'inline');
-}
+}
\ No newline at end of file
