Protecting A Folder – Prevent Downloading of Files in A Folder – Deny All htaccess File

Home Forums BulletProof Security Pro Protecting A Folder – Prevent Downloading of Files in A Folder – Deny All htaccess File

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #213
    RichardB
    Participant

    It took a little while to become friends with BPS Pro, but well worth it. The program offers far more than I expected.
    Need a bit of clarification. The site uses @font-face font types, which means that fonts are stored in a ‘font’ folder on the hosting server. Which .htaccess file should be inside the font folder to prevent anyone from downloading any of the font files?
    Is there a video showing how it’s done?

    #215
    AITpro Admin
    Keymaster

    The simplest way to protect files in a folder from being downloadable is to add a Deny All .htaccess file in that folder.  Download the BPS Pro Deny All .htaccess file from this folder /wp-content/plugins/bulletproof-security/admin/htaccess/deny-all.htaccess to your computer and then upload the deny-all.htaccess file to the /fonts folder and rename the file to .htaccess.

    #216
    RichardB
    Participant

    Thanks for the quick reply. Greatly appreciated.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.