Htaccess Secure Files
The Htaccess Secure Files plugin can only be activated on Apache web servers with mod_rewrite enabled, and will automatically raise an error upon activation if this is not the case.
Envisager une alternative
Htaccess Secure Files shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 14 years ago, and scores 30/100 on our health check.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 14 ans
- Only tested up to WordPress 3.3 (latest is 7.1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Htaccess Secure Files stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| htaccess | >100 |
| médias | >100 |
| secure | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 1 avis
About Htaccess Secure Files
From the official readme · v0.5Description
The Htaccess Secure Files plugin can only be activated on Apache web servers with mod_rewrite enabled, and will automatically raise an error upon activation if this is not the case.
The Htaccess Secure Files plugin allows for setting files to be accessible only to visitors who have a specified IP address or WordPress role or capability. By using .htaccess files to secure the content instead of a separate directory outside the web root, WordPress’s native media library functionality can be used to upload secure files and link to them from within the visual editor.
By default all built-in WordPress roles will be allowed to access content that is marked as secure. The Settings -> Secure Files admin screen controls which roles, capabilities, and IP addresses are allowed to view or download secured files. If a custom role or capability is desired, there are several WordPress plugins capable of creating and editing roles and capabilities.
Any visitor that matches any selected role, capability, or IP address will be allowed to access secured files.
This plugin works by creating a .htaccess files in the directory of each secured file. If you manually edit the .htaccess file and it becomes corrupt (a 500 Internal Server Error is the most likely symptom), I recommend deleting the .htaccess file and then edit and save each secured item in the media library.
Installation
- Unzip the zip archive and upload the htaccess-secure-files directory to your /wp-content/plugins/ directory.
- Activez le plugin via le menu "plugins" dans WordPress.
- On the ‘Settings’ -> ‘Secure Files’ admin screen select which roles, capabilities, and IP addresses will be allowed to access secure files and what the server response should be for those denied access.
- To secure individual files edit the file on the ‘Media’ admin screen and change the ‘Secured File’ setting to ‘Yes’.
Journal de modifications
0.5
- Adding smarter detection when WordPress is installed in a sub-directory of a site.
0.4
- MIME/Content-type detection routine expanded (in order of priority): 1) Use WordPress’s built-in (or plugin modified) MIME types. 2) Use Fileinfo PECL extension if installed. 3) Check with mime_content_type (deprecated). 4) Fallback to ‘application/octet-stream’.
0.3
- “Denied access response” is now customizable: WordPress login, 403 Forbidden, 404 Not Found, or custom redirect.
0.2
- Added “Secure” column to media manager list table
- Added simple IP address whitelisting (may add more complexity in a later version)
- Added the capability to hide/disable the admin interface with a define statement
- Added screenshots
0.1
- Version initiale
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Htaccess Secure Files alternatives
All htaccess plugins →FAQ
Htaccess Secure Files: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Htaccess Secure Files free?
Yes. Htaccess Secure Files is free to download and use from the official WordPress.org plugin directory.
Is Htaccess Secure Files safe to use in 2026?
Htaccess Secure Files shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 14 years ago, and scores 30/100 on our health check.
How many websites use Htaccess Secure Files?
Htaccess Secure Files is active on 10+ WordPress websites and has been downloaded 6,729 times since it launched in October 2011. It was downloaded 45 times in the last 30 days.
Does Htaccess Secure Files work with WordPress 7.1?
Htaccess Secure Files is officially tested up to WordPress 3.3.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Htaccess Secure Files last updated?
The latest version, 0.5, was released on June 8, 2012 (14 years ago).
Who makes Htaccess Secure Files?
Htaccess Secure Files is developed and maintained by isaacchapman.
What are the best alternatives to Htaccess Secure Files?
The most popular alternatives to Htaccess Secure Files are Redirection (2M+ installs), Htaccess File Editor (40K+ installs) and Spider Blocker (10K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit




