Support » Plugin: Contact Form 7 Database Addon - CFDB7 » Can the the cfdb7_uploads folder be protected?

  • Resolved Lindsay Heydon

    (@lindsay-heydon)


    Could the attachments be ‘protected’ from browsing access?

    I’ve added an .htaccess file to cfdb7_uploads with the code below. But ideally if these documents are sensitive in nature it would be better if the folder and contents could be denied access by non registered users?

    <Files ~ "\.(pdf|doc|docx)$">
     Header set X-Robots-Tag "noindex, nofollow"
    </Files>
Viewing 1 replies (of 1 total)
  • Plugin Author Arshid

    (@arshidkv12)

    Just add blank intex.php file. Then users cannot find file name. This plugin is adding random number prefix for file name.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.