.htaccess Site Access Control Security & Risk Analysis

wordpress.org/plugins/htaccess-site-access-control

Using the password protection will give you extra security layer of protection from brute force hacking attacks. Additionally, it's also an easy …

800 active installs v1.0 PHP + WP 3.0.1+ Updated May 11, 2016
htaccesshtpasswdsecuringsecuritywpsos
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is .htaccess Site Access Control Safe to Use in 2026?

Generally Safe

Score 85/100

.htaccess Site Access Control has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The plugin "htaccess-site-access-control" v1.0 exhibits a mixed security posture. On the positive side, it demonstrates adherence to several good security practices. There are no known vulnerabilities (CVEs) associated with this plugin, and its vulnerability history is clean, suggesting a generally stable codebase. Furthermore, all SQL queries utilize prepared statements, and the plugin implements nonce and capability checks, indicating an awareness of fundamental WordPress security mechanisms. It also avoids external HTTP requests and bundled libraries.

However, significant concerns arise from the static analysis. The presence of the `unserialize` function, a known source of deserialization vulnerabilities, is a critical red flag, especially when coupled with the taint analysis revealing two flows with unsanitized paths. This combination strongly suggests a potential for remote code execution or other serious security compromises if user-controlled data is not strictly validated before being passed to `unserialize`. The low percentage of properly escaped output (10%) also indicates a risk of cross-site scripting (XSS) vulnerabilities, as user-supplied data displayed on the frontend may not be sufficiently sanitized.

In conclusion, while the plugin's lack of external dependencies, clean vulnerability history, and proper SQL usage are strengths, the identified use of `unserialize` with unsanitized data flows and insufficient output escaping present substantial security risks. The absence of a larger attack surface or known CVEs might mask underlying issues that could be exploited through these specific weaknesses. Recommendation for immediate review and remediation of `unserialize` usage and output escaping is strongly advised.

Key Concerns

  • Use of unserialize with unsanitized paths
  • Low percentage of properly escaped output
  • Dangerous function detected: unserialize
Vulnerabilities
None known

.htaccess Site Access Control Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

.htaccess Site Access Control Code Analysis

Dangerous Functions
2
Raw SQL Queries
0
0 prepared
Unescaped Output
9
1 escaped
Nonce Checks
4
Capability Checks
4
File Operations
8
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

unserialize$options = unserialize( get_option( 'wpsos_hp_options' ) );class.htaccess.php:304
unserialize<?php $options = unserialize( get_option( 'wpsos_hp_options' ) ); ?>settings-page.php:73

Output Escaping

10% escaped10 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
wpsos_hp_display_settings_page (settings-page.php:44)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

.htaccess Site Access Control Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actionadmin_enqueue_scriptshtaccess-site-access-control.php:28
actionadmin_menusettings-page.php:39
filterplugin_row_metasettings-page.php:193
Maintenance & Trust

.htaccess Site Access Control Maintenance & Trust

Maintenance Signals

WordPress version tested4.4.34
Last updatedMay 11, 2016
PHP min version
Downloads9K

Community Trust

Rating80/100
Number of ratings3
Active installs800
Developer Profile

.htaccess Site Access Control Developer Profile

Miina Sikk

9 plugins · 8K total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect .htaccess Site Access Control

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/htaccess-site-access-control/js/script.js
Script Paths
/wp-content/plugins/htaccess-site-access-control/js/script.js
Version Parameters
htaccess-site-access-control/js/script.js?ver=

HTML / DOM Fingerprints

HTML Comments
WPSOS htaccess plugin
FAQ

Frequently Asked Questions about .htaccess Site Access Control