Linked Questions
21 questions linked to/from How to Protect Uploads, if User is not Logged In?
2
votes
1
answer
16k
views
Restricting access to files within a specific folder [duplicate]
Possible Duplicate:
How to Protect Uploads, if User is not Logged In?
Is there any way at all to restrict direct access to files within a specific folder to only specific wordpress users that ...
5
votes
1
answer
11k
views
How to make media upload private? [duplicate]
Possible Duplicate:
How to Protect Uploads, if User is not Logged In?
I know how to mark a Page or Post as visible only to members, using the Member Access plugin. This way, the public cannot ...
0
votes
0
answers
24
views
Private Custom Post Type for a Blog? [duplicate]
Just wondering if anyone can point me in the right direction please, it may not be possible - but just thought I'd ask incase.
I currently have a marketing website for a school campus, within that ...
12
votes
5
answers
27k
views
How to restrict access to uploaded files?
I have a restricted area on a website that can only be accessed by logged in users. For that I created a page template with a 'current_user_can()' condition.
My problem is that the documents attached ...
14
votes
1
answer
18k
views
simple solution for restricting access to (some) uploads/downloads
Initial Situation
For a site I'm setting up I was looking into the whole field of securing uploads/downloads and restricting access to them based on user roles/capabilities. Of course I have read ...
6
votes
1
answer
13k
views
Protecting direct access to PDF and ZIP unless user logged in (without plugin)
Working on a WordPress support site which has registered only user content, including uploaded PDF and ZIP files.
I'm looking for a way to prevent direct access to those PDFs and ZIP files inside the ...
4
votes
2
answers
11k
views
Password protect some uploaded files, so only logged-in users can view them
I would like to protect some uploaded files, so that they are not publicly accessible (they are not accessible without a login). I'm uploading some PDF files, and I'd like to mark some of them as ...
2
votes
3
answers
2k
views
Using "wordpress_logged_in" to restrict direct access to uploads folder in 2021
I am looking at ways to restrict direct access to the Wordpress Uploads folder. I've read a handful of Stackoverflow and blog posts about using "wordpress_logged_in" in .htaccess to check if ...
2
votes
1
answer
4k
views
Block Logged-Out User Access to Directory Outside of WordPress using .htaccess and PHP file
I have successfully blocked access to a folder directory outside of WordPress based on user cookies using the following code in the .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
...
0
votes
1
answer
3k
views
Restricted images only for logged user. (hidden url)
Im looking for way to create page where only logged in user can see images, but images cant be index by browser, cant be accessed by not logged in user.
Simply, if logged in user copy image link, ...
4
votes
1
answer
1k
views
How to protect uploads in multisite if user is not logged in?
I am trying to set up a multisite intranet (using subdomains) where content on each sub-site is only accessible to users logged into their respective site. The problem I am having is trying to ...
1
vote
1
answer
1k
views
How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?
I'm developing a simple "member's only" section within a website, with the sole intention of allowing the client to post files for their members. I've come to realize quickly that the posts' ...
1
vote
1
answer
1k
views
Restrict uploaded files into a custom folder to logged in users by htaccess: looking for Nginx - not only Apache - solution
Talking about this well known solution:
Github
Original discussion
I'm looking for a straightforward way working also on a Nginx installed WP and not only on Apache ones.
Is there any other code-based ...
1
vote
2
answers
1k
views
Protect Uploads in Multisite
I am using WordPress multisite (3.3.1) and am trying to protect uploads from certain blogs from being hotlinked and directly accessed. This is loosely related to How to Protect Uploads, if User is not ...
0
votes
1
answer
998
views
How to Protect a private folder inside uploads folder, if User is not Logged In?
I am learning php but i am still quite a noob so please excuse my limitations.
I have a html file that is linked to many PDF files inside a folder called "Clients"
I have placed this folder inside "...