• Hi there,

    I added this code in my .htaccess file of my site to deny access to .pdf files. I works fine.

    <FilesMatch "\.(pdf)$">
    Order Allow,Deny
    Deny from all
    </FilesMatch>

    Now, logged ‘administrator’ role users are able to access pdf files. It seems that these users are excluded from that restriction code. So far so good.

    Now I need to give access to a custom role “member_role”. I mean, users with this role should be able to access/download pdf file in the same way than ‘administrator’ role users.

    I guess that I need to give the right permissions to this Role but I don’t know how to do it.

    How and where can I do this?

    Regards,

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