Only attachments uploaded as Protected file are protected, and only when your server blocks direct access to the protected folder.
Upload a protected file
- Create or edit a shared attachment in Attachment Library.
- Choose the source Protected file (uploaded to protected storage).
- Select the file and save. Customers get a download link that checks the access rules each time.
The folder is wp-content/uploads/epawp-protected/. EaseAttach Pro also checks the file type and content of every upload, and executable and script files are always rejected.
Check the folder
Open EaseAttach Woo, Settings and Storage & data. The storage check tests whether the folder can be opened from a direct web address. Click Check again after you change the server.
- Apache and LiteSpeed. The plugin writes an .htaccess file that blocks direct access.
- Nginx. Add this rule to the server block of your site and reload Nginx:
location ^~ /wp-content/uploads/epawp-protected/ { deny all; }Use a folder outside the web root
Define EPAWP_PROTECTED_DIR in wp-config.php with a folder outside the web root, if your host allows it.
What is not protected
Files from the Media Library and external links stay public. Pro can hide their link from visitors who do not qualify, but it cannot protect the file itself. Do not use them for confidential files.
