Linked Questions

1 vote
0 answers

How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite

I have a question that I thought the below thread would provide the answer to, but things in WP have changed so it doesn't quite do it, although it helped my understanding of things. How to protect ...
yms's user avatar
  • 35
0 votes
1 answer

Restrict directory listing to only logged in users

I am using directory listing with theme. Which is obviously not part of WordPress. I am looking for a way to allow only registered subscribers to access + download ...
bran's user avatar
  • 177
1 vote
0 answers

File Upload Permissions

Introduction: I want that a logged-in user can upload a file. Then he should be able to download that file whenever he wants to. I have finished the uploading by using wp_upload_bits - so the files ...
QuickSort's user avatar
  • 161
0 votes
1 answer

Rrestrict access to static pages if user is not logged in

I have a folder on my WordPress site (named documentation; see screenshot), where I host a bunch of static HTML pages. How can I restrict access to the folder, so only logged in users are allowed to ...
Luke Wage's user avatar
  • 101
0 votes
2 answers

How to prevent people from seeing an attachment to a scheduled post that's released in future?

I'm developing a website for a large corporation. They release financial documents on specific dates and times. I've developed a custom form to upload these pdfs to articles, and custom loops that ...
Jonathan's user avatar
  • 123
1 vote
1 answer

Protecting uploads not working

I am trying to build a private site. One of the most important aspects of the site consists in the uploads, and they definitely need to be private. I found a very interesting topic on that here: How ...
Cedric Buron's user avatar

15 30 50 per page