FILE_DOWNLOADS_PRIVATE

Definition

drupal/includes/file.inc

Description

Flag to indicate that the 'private' file download method is enabled.

When using this method, all file requests are served by Drupal, during which access-control checking can be performed.

Related topics

Namesort iconDescription
File interfaceCommon file handling functions.

Code

define('FILE_DOWNLOADS_PRIVATE', 2);