PDA: Prevent Direct Access to Files, URLs & Folders; Create Private/Secure Links
PDA: Prevent Direct Access to Files, URLs & Folders; Create Private/Secure Links
Description
The most powerful file protection plugin trusted by 50,000+ sites | 286+ Five-Star Reviews
π Secure Your WordPress Files in 60 Seconds
β‘ One-click protection – Secure files directly from Media Library
π Smart URL replacement – Auto-updates embedded links site-wide (Gold)
π‘οΈ Military-grade security – Even if they know the URL
π Folder protection – Secure thousands of files at once (Gold)
π Download Free | Get PDA Gold
π What Makes PDA Different
π« WITHOUT PDA: Upload a “private” PDF Anyone with the URL can download it AI & Google indexes it Zero protection
β WITH PDA: Upload any file One-click protection Auto-updates all embedded URLs True privacy + search engine blocking
Exclusive PDA features no other plugin offers:
β’ Automatic URL replacement (no broken links!) (Gold)
β’ Folder protection – secure entire directories (Gold)
β’ Amazon S3 integration (Gold)
β’ Magic links with expiration (Gold)
Note: For complete content protection including pages/posts, pair with Password Protect Page Pro.
π― The File Security Crisis Nobody Talks About
β The Actual Truth:
– Anyone who knows your file URL can access it – even private files!
– AI & Google indexes your “private” PDFs and shows them in search results
– Competitors steal your premium content and resell it
– Your client files are exposed to the public
– WordPress has ZERO built-in file protection
β
The PDA Solution:
– True URL protection – Files secured even if URL is known
– Automatic URL replacement – Updates all embedded links instantly
– Search engine blocking – Your files stay OFF Google and AWAY from AI Scraping bots
– Hotlink prevention – Stop bandwidth theft
– One-click security – No complex configuration
π€ Why Every WordPress Site Needs File Protection
With cybercrime damages predicted to hit $10.5 trillion by 2025, protecting your digital assets isn’t optional – it’s essential. Yet WordPress has a massive security hole: uploaded files are publicly accessible by default.
The Problem: Upload a “private” document to WordPress, and anyone with the URL can download it. Worse, AI bots and Google can index it, allowing competitors to easily find and steal your work. There’s no access control whatsoever.
The Solution: PDA transforms WordPress into a secure file vault while maintaining the ease of use you love. Protect files with one click, share secure links with authorized users, and sleep knowing your content is truly private.
β‘ Features That Make PDA #1
π FREE Forever Features
π‘οΈ Direct URL Protection
The core magic of PDA β files become inaccessible via direct URL access, even if someone knows the exact path. Only users with proper permissions can view protected files. Unauthorized visitors get your 404 page instead.
π² Auto-Generated Private Links
Each protected file gets a unique, unguessable private download link (also known as an expiring link). These links aren’t indexed by search engines and are the only way to access protected files. While anyone with the link can access the file, you can set download limits and expiration times β ideal for temporary sharing like marketing campaigns.
π« AI Indexing & Search Engine Blocking
PDA explicitly tells AI Indexing Scrapers, Google, Bing, and other search engines not to index your protected files. Your private PDFs, documents, and media will never appear in search results. This works at the server level for bulletproof protection.
πΌοΈ Image Hotlink Prevention
Stop other sites from stealing your bandwidth by embedding your images. When enabled, images can only be displayed on your domain. This feature alone can save significant hosting costs for image-heavy sites.
ποΈ Upload Directory Protection
Your entire wp-content/uploads folder becomes protected. Directory browsing is disabled, preventing anyone from seeing a list of all your uploaded files. A critical security layer most sites miss.
π€ IP-Based Access Control
Block specific IP addresses from accessing your private links. Perfect for preventing access from problematic users or regions.
π₯ File Author Permissions
By default, file authors and admins can always access protected files directly. This ensures content creators maintain access to their uploads while blocking everyone else.
π Media Library Integration
PDA adds a dedicated column to your Media Library list view. See protection status at a glance, configure settings without leaving the media screen, and manage hundreds of files efficiently.
π GOLD Power Features
π Automatic URL Replacement (Exclusive to PDA Gold)
This game-changing feature automatically finds and replaces unprotected file URLs already embedded in your posts and pages. No manual updating needed β PDA handles everything in the background. When you protect a file, every instance across your site updates instantly.
π€ IP-Based Access Control
Aside from blocking IP addresses from accessing private links, you can also whitelist IPs at different levels:
– Global level
– File level
– Entire site
π One-Click Folder Protection
Protect entire folders without manually updating individual files. Simply specify a folder path and all current and future files inside are automatically secured. Perfect for:
– Course materials organized by module
– Client project folders
– Monthly content archives
– Departmental documents
π§ββοΈ Private Magic Links
An upgrade from standard private links, Private Magic Links let you control who can access your files β just like protected links. Perfect for:
– Portfolio previews
– Document review without distribution
– Temporary access for contractors
– Preview-before-purchase scenarios
Even when set to “anyone,” Magic Links can expire just 1 second after page load, ideal for view-only access β preventing sharing or reuse. Once expired, refreshing the page auto-generates a new link for seamless access.
π Shared Private Links
Create a single download link that tracks usage per logged-in user. Features:
– Individual download limits per user
– Detailed usage analytics
– Perfect for licensed content
– Prevents password sharing abuse
βοΈ Amazon S3 Integration
Extend PDA protection to cloud storage. Features:
– Protect S3-hosted files
– Generate expiring S3 URLs
– Sync local and cloud protection
– Search & replace S3 URLs in content
– Multi-bucket support
– Wasabi storage compatible
π Advanced WooCommerce Integration
Transform WooCommerce into a digital content powerhouse:
– IP restrictions for order pages β Prevent order sharing
– Time-limited download access β Set expiration after purchase
– Product-specific file protection β Different rules per product
– Download attempt tracking β Monitor usage patterns
– Reset download limit and expiry of WooCommerce “parent” products
π€ Custom Role Integration
Go beyond WordPress defaults with granular permissions:
– Membership plugin support β Integrate with MemberPress, Paid Memberships Pro, etc.
– Custom role selection β Use roles from any plugin
– Bulk permission updates β Change access for hundreds of files at once
– Role-based folders β Auto-assign permissions based on upload location
π Advanced Access Restrictions
The AR Extension adds enterprise-grade control:
– Geographic restrictions β Limit access by country
– Referrer requirements β Must come from specific sites
– Custom access rules β Build complex permission logic
π Performance Features
– CDN compatibility β Works with all major CDNs
– Caching optimization β Smart cache bypassing for protected content
– Lazy permission checking β Minimal performance impact
– Bulk operations β Update thousands of files efficiently
π Professional Features
– Access logs β Track every file access attempt
– Bandwidth monitoring β See how much you’re saving
– Suspicious activity alerts β Get notified of potential breaches
– White-label options β Remove PDA branding
– Multi-site support β Network-wide protection
– REST API β Integrate with external systems
π‘ REAL-WORLD USE CASES
π USE CASE #1: DIGITAL PRODUCT CREATOR
You sell ebooks, courses, and templates.
Problem: Customers share download links, costing you thousands in lost sales.
π PDA Solution: Generate unique Shared Private Links for each customer.
- Set up download limits and expiry time, link access permission
- Track download limits and expiry time per user
- Shared private links wonβt work for others if don’t have correct permission
πΈ USE CASE #2: PHOTOGRAPHY BUSINESS
You deliver high-resolution images to clients but must prevent unauthorized downloads and Google indexing.
π PDA Solution:
- Use PDA Magic Private Links that allow viewing but block downloads
- Set an expiration after the review period
- Keep images off Google while clients browse galleries
π’ USE CASE #3: CORPORATE DOCUMENT MANAGEMENT
Internal documents are appearing in Google searches, creating security risks.
π PDA Solution:
- Folder Protection secures entire department directories
- S3 Integration protects cloud storage
- IP restrictions ensure office-only access
π USE CASE #4: ONLINE COURSE PLATFORM
Course materials require different access levels for different membership tiers.
π PDA Solution:
- Custom Role Integration works with your LMS
- Folder Protection organizes content by course
- WooCommerce Integration automates access after purchase
π₯ USE CASE #5: HEALTHCARE / LEGAL FILES
Sensitive documents need audit trails and strict access control.
π PDA Solution: PDA Gold Statistics
- Access logging tracks every file view
- Geographic restrictions ensure compliance
- Time-based access limits exposure windows
π¬ USE CASE #6: VIDEO CONTENT PROTECTION
Large video files on S3 need protection without sacrificing performance.
π PDA Solution:
- Generate time-limited streaming URLs via S3 Integration
- CDN compatibility ensures fast delivery
- Bandwidth monitoring shows cost savings
π οΈ Technical Excellence
Server Compatibility
β Apache β Works out of the box
β Nginx β Configuration guide provided
β LiteSpeed β Fully compatible
β IIS β Supported with guide
Hosting Compatibility
β WP Engine β SiteGround β Kinsta
β Cloudways β GoDaddy β Bluehost
Developer Features
// Extensive hooks for customization
pda_before_file_protection
pda_after_url_generation
pda_access_check_override// REST API endpoints
/wp-json/pda/v1/protect
/wp-json/pda/v1/generate-link
πͺ Simple, Transparent Pricing
Feature | Free Forever | PDA Gold ------------------------------------------------------ Perfect for basic protection | β | β Unlimited file protection | β | β Private download links | β | β Search engine blocking | β | β Hotlink prevention | β | β WordPress.org support | β | β URL auto-replacement | β | β Folder Protection | β | β Amazon S3 Integration | β | β WooCommerce Integration | β | β Magic Links | β | β Priority support | β | β Lifetime updates | β | β Price | $0 forever | From $179 one-time
π‘30-Day Money Back Guarantee – No risk, no questions asked
What Gold Members Say:
“The folder protection alone saved me 20 hours of work. Best investment ever!”
β Tom K.
“S3 integration + Magic Links = game changer for my photography business”
β Lisa M.
β Why 50,000+ Sites Choose PDA
Success Metrics:
π $2.3M+ saved from prevented content theft
π‘οΈ 1.2B+ unauthorized access attempts blocked
β‘ 4.7/5 average review rating
π 147 countries using PDA
Recent Reviews:
βββββ
βThe team at Prevent Direct Access helped me find a custom solution that I wouldnβt have been able to complete without their help. They were responsive, kind, and came to a solution that worked well on the website.β
β sasha49
βββββ
βMuhammad and the PPWP team are very helpful. We had an issue with caching and anchor tags not working on our website. PPWP investigated the issue immediately and provided us with some custom code snippets to fix the website within 24 hours.β
β vfactoruk
βββββ
βI am extremely happy with simplicity and effectiveness of even this free product. The support I received from Quinnie was phenomenal and unusual for a free product. She was patient and persistent in helping and solving the issue. Thanks.β
β sbdesh
βββββ
βPPWP adds password protection options not found in WP. It was essential for us to block password protected pages from our RSS feed, which PPWP does great. Furthermore, WPFolio support was fast and very helpful identifying what, in the end, was my mistake and not an issue with their plugin.β
β qrusnell
π― Ready to Secure Your Files?
Every day you wait, your files remain exposed. Google is indexing them. Competitors are downloading them. Your revenue is walking out the door.
Secure Your Files Now:
π Download Free Version – Core protection forever
π Get Gold Access – Complete file security suite
Why Choose PDA:
β
Most comprehensive file protection available
β
Exclusive features like automatic URL replacement
β
Proven track record – 7+ years, 50,000+ users
β
Outstanding support – 286+ five-star reviews
β
Risk-free – 30-day money-back guarantee
Don’t let another day pass with your valuable files exposed. Install PDA now and lock down your content in 60 seconds.
Additional Resources
- Documentation: Setup Guides | Video Tutorials
- Compatibility: WordPress 5.0+, PHP 7.2+, all major hosting providers
- Privacy: Privacy Policy β GDPR compliant
- Support: Free Support | Gold Priority Support
- Complete Protection: For full page, post, and content protection, check out PPWP Pro or Protect Pages & Post (PPP) Gold
Prevent Direct Access – Because “private” should mean PRIVATE π
Installation
π Get Started in 60 Seconds
Quick Start Guide:
1οΈβ£ Install – Search “Prevent Direct Access” in WordPress plugins
2οΈβ£ Activate – Go to Media Library and switch to List View
3οΈβ£ Protect – Click “Configure file protection” on any file
4οΈβ£ Share – Copy the private link and share securely
First Steps After Installation:
– β
Protect your most sensitive file as a test
– β
Set up custom 403 redirect page
– β
Enable hotlink protection
– β
Configure IP restrictions if needed
– β
Test the private download link
Pro Tip:
Start by protecting a single file to see the magic, then use bulk operations or folder protection (Gold) to secure everything at once.
Screenshots

Once you have installed the plugin, click Activate

Go to Media to protect your files. Prevent Direct Access works best on List View.

Thereβs an extra column called "Prevent Direct Access" auto-generated by our plugin. Click on "Configure file protection" and start protecting your private file.

Click on "Protect this file" button to make the file private.

The file is now "protected". Its File Access Permission is set to "The file's author", which means it's accessible to the file's author only. Other users are able to access your protected file using a private download link.

You can also protect your file under Media Grid View.

Thereβs an extra βPrevent Direct Accessβ option generated by our plugin under Attachment Details. Check the βProtect this fileβ box to protect your file.

Once your file is protected, itβll have a red border.
Faq
File protection (PDA) secures actual files in your Media Library from direct URL access.
Password protection (like PPWP) protects pages/posts content. For complete security, many sites use both.
No! PDA’s Smart URL Replacement automatically updates all embedded file links across your site.
Your content continues working seamlessly while files become protected.
PDA works with all major caching plugins.
Protected files bypass cache automatically while your pages stay fast.
Yes! PDA works with existing files.
Just click protect and all embedded links update automatically.
You can also bulk protect hundreds of files at once.
Absolutely! The automatic URL replacement works with Elementor, Divi, Beaver Builder, and all other builders.
No manual updates needed.
We include a safe deactivation process that can restore original URLs if needed.
Your files won’t disappear, but they’ll no longer be protected.
No limits!
Protect tiny images or massive video files. PDA handles all file sizes efficiently.
Exceptional!
With 286+ five-star reviews, our support is consistently praised.
Free users get WordPress.org forum support, Gold users get priority email support.
Reviews
Great support
By morrischapman on September 26, 2025
Great support.
Excellent Support for a Custom Solution
By sasha49 on July 29, 2025
The team at Prevent Direct Access helped me find a custom solution that I wouldn't have been able to complete without their help. They were responsive, kind, and came to a solution that worked well on the website. We had to protect a website's files mid project and with the team at Prevent Direct Access, we were able to redirect URLS on mass. This plugin is great for any developers looking to prevent access to documents and files. Highly recommend the plugin and their support team!
ειηεΎηΊζθ‘ζ―ζεΎε°δ½
By danfor on July 23, 2025
ειηεΎηΊζθ‘ζ―ζεΎε°δ½
Avoid free version
By Simon Pollard (simonp303) on May 9, 2025
Does not work with Nginx and also as an added bonus blocked all Editor uses from seeing pages giving them a 404 instead.
not working here π
By hmich on February 4, 2025
so many positive reports, are they real? because here it doesn't work at all, there is no config secret or difficulty, just 4 checkboxes, after that I get still full access to my wp-content/uploads with any browser and wget gives me an easy 200 ok for every single file, so what is wrong?
obs: not using any image cache plugin
Plugin fantastico
By baritono on January 11, 2025
Fa il suo ottimo lavoro.
Great support and works superbly!
By Design CoCreative (marianlowe) on January 8, 2025
I highly recommend this plugin following some back and forth with the support team to clarify specifics for a particular site, they were prompt and thorough. And the plugin does exactly what we need it too βΒ lock down our media library.
Great support
By Pet (wpet) on January 7, 2025
Very good plugin, and the support team did not give up to make it work on our site although some really advanced settings were needed to be made on our webhost.
Very helpful support team
By shahbaazem on December 16, 2024
Iβve been a loyal user of the PDA Gold plugin since 2021, and WPFolio Support has always been exceptional. Recently, I faced a licensing issue when transitioning to a Multisite setup. Initially, I was frustrated, but their team went above and beyond to resolve it by waiving the extension fee as a special consideration. This gesture highlights their dedication to customer satisfaction. I highly recommend their plugins and support team for their professionalism and care. Thank you, PDA!
Ugh
By wavepoint on November 26, 2024
For these prices you expect a reasonable onboarding process and an intuitive interface. This is 100% like going back to 1995. They have taken a full hour from me in addition to the ridiculously long time it took to start a ticket. And the time it will take to get a refund. Someone should make this plugin and make it work - it will make bank. In the meantime, avoid this at all costs.
Changelog
2.8.8.3 Apr 23, 2025
- [Improvement] Security: Restrict REST API access to file protection endpoints to admin users only.
2.8.8.2 Feb 26, 2025
- [Bugfix] Resolved the developer tool alert issue for page builders.
2.8.8.1 Feb 17, 2025
- [Bugfix] Fixed an issue with shortcut blocking and detection in developer tools prevention.
- [Improvement] Enhanced security measures for generating unique strings.
2.8.8 Jan 28, 2025
- [Improvement] Added customizable right-click alert with tooltip message.
- [Improvement] Enhanced developer tools prevention with shortcut blocking and detection.
2.8.7 July 01, 2024
- [Bug Fix] Resolved issues with Protection and Unprotection links for custom upload directories without year-month paths.
2.8.6.1 May 15, 2024
- [Bugfix] Code improvements and optimizations
2.8.6 May 13, 2024
- [Bugfix] Fixed Callback permission in rest api
2.8.5 September 11, 2023
- [Improvement] Comprehensive code comment documentation has been added
- [Improvement] Added text domains for strings in places where they were previously missing
- [Improvement] Removed unnecessary commented-out code, ensuring a cleaner and more efficient codebase
- [Improvement] The settings page sidebar has been revised to provide users with updated information and a helpful guide
2.8.4 April 07, 2023
- [Fix] Free plugin not working if we have install premium plugin and activate the license and then deactivate the premium plugin
2.8.3 Dec 16, 2022
- [Improvement] Disable right-clicks on iFrames
- [Improvement] Show error messages when protecting deleted files
- [Improvement] Show confirmation messages when protect/unprotect files under Media Library Grid View
2.8.2 August 25, 2022
- [Improvement] Show alert messages when right-clicking on web pages
- [Improvement] Disable more keyboard shortcuts
- [Fix] Allow text input on Safari when disabling right-clicks
2.8.1 Jun 12, 2022
- [New Feature] Restrict media files access to fileβs authors only
- [Improvement] Show warning messages on multisites
- [Fix] Show non-latin characters in protected file names
2.8.0 April 20, 2022
- [Improvement] Disable text selection and image drag-and-drop features
- [Improvement] Disable content copy functions
- [Improvement] Display alert message on mouse right click
2.7.10 February 9, 2021
- [Refactoring] Secure input and output data
- [Refactoring] Update Settings UI using WordPress built-in jQuery libraries
2.7.9 Jan 28, 2022
- [New Feature] Provide an settings option to prevent right-clicking on all pages
- [Improvement] Remove βInvite & Earnβ submenu & UTM tags on the plugin author URI
2.7.8 December 6, 2021
- Allow admins to access protected files whose FAP are βthe fileβs authorβ via a hook
- Display success & error messages when saving IP Restriction settings
2.7.7 October 5, 2021
- Allow protecting unlimited files with PDA Lite plugin
- Improve UI: Remove disabled options
2.7.6 August 13, 2021
- Update embedded documentation links in UI settings
- Test compatibility with WordPress 5.8
- Update GetResponse API 3.0
2.7.5 June 16, 2021
- Provide hook to display PDF thumbnails in the Media Library
- Fix error PHP log when updating a new PDA version
2.7.4 April 7, 2021
- Show rewrite rules for IIS users
- Improve UI: Hide PDA Gold features in the settings page
- Remove error log
- Show Configure pop-up under Media Library for all servers
2.7.3 February 10, 2021
- Improve UI on settings page and show rewrite rules for Nginx users
- Allow users to protect files under Media Library Grid View
2.7.2 December 18, 2020
- Allow admin users to access protected files
2.7.1 August 24, 2020
- Fix PHP notices with WP 5.5
2.7.0 June 16, 2020
- PDA Gold requires PDA Lite
- Un-protecting files don’t update _pda_protection value
- Remove unused files & folders
- Hide “upgrade to PDA Gold” notice if PDA Gold is active
- Change the domain of translation
- Do not support in multisite mode
2.6.0 April 3, 2020
- Improve UI: compatible with WordPress 5.3
- Allow the file’s author to access protected file by default
2.5.1.2 February 5, 2020
- Improve UI: hide Like Plugin column in the settings page
2.5.1.1 November 16, 2019
- Fix add_submenu_page PHP notice issue
2.5.1 November 7, 2019
- Add feature “Prevent Image Hotlinking”
- Prevent Google Indexing for private links
- Fix file access permission when filename contains size
2.5.0.4 October 4, 2019
- Improve UI under settings page
2.5.0.3 August 9, 2019
- Update switch button under settings page
- Show notification when saving settings successfully
2.5.0.2 May 16, 2019
- Fix get lucky button
2.5.0.1 December 04, 2018
- Fix typo
2.5.0 November 18, 2018
- Revamp UI
2.4.0.1 August 10, 2018
- Hot fix [] array declaration cannot work under PHP version < 5.4
2.4.0 June 14, 2018
- Fix cannot remove rewrite rules when deactivate plugin
2.3.9 Tue, April 17, 2018
- Fix “This plugin is not properly prepared for localization”
2.3.8 Thu, April 12, 2018
- Apply localisation
2.3.7 Wed, February 28, 2018
- Test WordPress 4.9.4
2.3.6 Wed, January 31, 2018
- Fix undefined index when get option FREE_PDA_SETTINGS
2.3.5 Fri, January 26, 2018
- Improve UI for settings page
2.3.4 Tue, January 23, 2018
- Improve UI on settings page by revamping checkbox option
- Integrate stop image hotlinking feature
- Show information in order to know whether the file is protected
2.3.3 Mon, January 8, 2018
- Revamp settings page
2.3.2 Wed, November 15, 2017
- Fix wp::prepare warning messages when using in WordPress version 4.8.3.
2.3.1: Sat, November 4, 2017
- Add warning messages when users are using a deprecated wp api plugin.
2.3: Thu, August 17, 2017
- Protect files from search engine’s index
2.2: Wed, June 14, 2017
- Add settings page
2.1.5: Thu, June 1, 2017
- Notify users to upgrade to Gold version
- Update plugin’s data after users remove media files
2.1.4: Mon, May 22, 2017
- Change the way to get non-protected URL
- Redirect to default 404 page if the file is protected
- Support websites hosted on WP Engine
2.1.3: February 25, 2017
- Tweak: Change the plugin’s logic to cater for those files that couldn’t be found in the _postmeta table
2.1.2
- Fix Twitter, Google Plus and Facebook open graph issue
2.1.1
- Fix .htaccess rules to recognize the special characters
- Find in _postmeta table in case of cropped images via wordpress