Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Executable .pdf File

$
0
0

Replies: 0

Hello,
I have tested that a file restrction work fine with logged users. But when user write the path to browser, then display without deny any file in the library folder ( Tested in private Mode )
Shortcode
[library-viewer have_file_access="logged_in"]

Here the .htaccess code

Order Allow,Deny
Allow from all
<Files ~ "\.(gif|jpg|png|pdf|doc|excel)$">
Deny from all
</Files>

Viewing all articles
Browse latest Browse all 59525

Trending Articles