diff --git a/sites/all/modules/contrib/commerce/modules/product/commerce_product.module b/sites/all/modules/contrib/commerce/modules/product/commerce_product.module
index 02bf0ec..004047a 100644
--- a/sites/all/modules/contrib/commerce/modules/product/commerce_product.module
+++ b/sites/all/modules/contrib/commerce/modules/product/commerce_product.module
@@ -563,6 +563,32 @@ function commerce_product_access($op, $product = NULL, $account = NULL) {
 }
 
 /**
+ * Implementation of hook_file_download_access
+ *
+ * The hook is typically implemented to limit access based on the entity the
+ * file is referenced, e.g., only users with access to a product should be allowed
+ * to download files attached to that product.
+ *
+ * @param $field
+ *   The field to which the file belongs.
+ * @param $entity_type
+ *   The type of $entity; for example, 'node' or 'user' or 'commerce_product'.
+ * @param $entity
+ *   The $entity to which $file is referenced.
+ *
+ * @return
+ *   TRUE is access should be allowed by this entity or FALSE if denied. Note
+ *   that denial may be overridden by another entity controller, making this
+ *   grant permissive rather than restrictive.
+ *
+ * @see hook_field_access().
+ */
+function commerce_product_file_download_access($field, $entity_type, $entity) {
+  global $user;
+  return field_access('view', $field, $entity_type, $entity, $user);
+}
+
+/**
  * Performs token replacement on a SKU for valid tokens only.
  *
  * TODO: This function currently limits acceptable Tokens to Product ID and type
