Guard Dog Security & Site Lock

Description

Guard Dog Security & Site Lock helps WordPress administrators keep their installations clean and secure.

Over time, it’s common for orphaned plugin or theme folders to build up in your wp-content directory. These stray folders may be the result of incomplete uninstallations, leftover files from updates, or abandoned code that was never fully removed. While they might seem harmless at first glance, they can create confusion, waste storage space, and in some cases pose a serious security risk.

Hackers often exploit these forgotten folders by hiding backdoors or malicious scripts inside them, knowing that site owners rarely check for or even notice such files. An orphaned folder can act as an open invitation for unauthorized access, giving attackers a quiet place to operate undetected.
By identifying and removing these unused folders, you not only keep your WordPress installation clean and organized but also close off potential entry points that could otherwise be used to compromise your site. The Guard Dog Security plugin makes this process simple, scanning your directories to uncover anything that doesn’t belong and highlighting it for review before it becomes a problem.

SITE LOCK — Only found here!

One of the easiest ways for a hacked user to damage your site is by adding or changing the physical files that WordPress relies on. If attackers can place hidden scripts, modify plugin or theme files, or inject malicious code, they gain the power to compromise your entire site.

The Site Lock feature in Guard Dog Security protects against this by allowing you to lock all folders and files in your installation and make them read-only. Once locked, no new files can be added, no existing files can be changed, and nothing can be removed. This ensures that the foundation of your WordPress site remains untouched, even if someone attempts to exploit vulnerabilities or gain access.

When updates or changes are needed, you can unlock the system with a single action, perform your updates, and then reapply the lock. This simple but powerful safeguard gives you complete control over your site’s file structure and adds a layer of security that goes beyond what most WordPress plugins offer.

This plugin scans the following directories:
— WordPress Root (main installation folder)
— wp-content Folder (wp-content/)
— Plugins Folder (wp-content/plugins/)
— Themes Folder (wp-content/themes/)
— Uploads Folder (wp-content/uploads/)
— htaccess files

Guard Dog Security takes a disk-first approach. It crawls your entire WordPress installation and inventories every single file and folder, not just plugins and themes. Everything is presented in a clear interface where you can open items to view their contents, mark them to ignore, delete them if they are not needed, or download a copy for backup or investigation.

Because it works directly from what is actually on disk, you are never limited by what WordPress shows in the admin. You can quickly spot unfamiliar files, tidy up leftovers from old plugins or themes, and pull down suspicious items for review, all without leaving the dashboard. It provides a fast and transparent way to see exactly what is on your server and take action immediately.

Key Features
— Finds plugin folders not listed on the Plugins screen (hidden or orphaned)
Scans for plugin folders that exist in your WordPress installation but aren’t showing on the Plugins screen.
— Detects missing plugin folders referenced by active or installed plugins
Identifies when active or installed plugins are missing their associated folders.
— Lists top-level folders and files in key WordPress directories
Displays top-level files and folders within critical WordPress directories for easy auditing.
— Fully lock all folders and files to make them read only
Lets you make all folders and files read-only for maximum protection.
— Configure security headers
Adds and manages HTTP security headers to harden your site against common threats.
— Configure user security
Provides settings to strengthen account and login security for WordPress users.
— Infection scanner
Scan all site files to find any suspicious files
— Zero configuration setup
Works right after install and activation—no complex setup required.

Screenshots

  • Dashboard tab showing score and all folder issues present on your site.
  • Main tab for auditing your root WordPress install directory.
  • Content tab for auditing your wp-content directory.
  • Plugins tab potentially hidden or orphaned plugin directories.
  • Themes tab for auditing your themes directory.
  • Uploads tab for auditing your uploads directory.
  • htaccess tab for auditing your htaccess files.
  • Security Settings for securing your site from attacks.
  • Infection Scanner finding infected files.
  • Settings page to automate tasks.
  • Site Lock Notice notifying users when enabled.
  • 100% Folder Score after completing the folder audit feature.

Installation

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install via the WordPress Plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Navigate to Guard Dog to begin auditing your site.

FAQ

Why do I need this plugin?

Hidden or leftover folders can sometimes indicate incomplete uninstalls or even malicious code. This plugin helps you identify them.

Does it automatically delete orphaned folders?

No. Guard Dog Security is strictly an auditing tool. It shows you what exists so you can make informed decisions.

Will this slow down my site?

No. All operations run only when you open the Guard Dog Security screen. Nothing runs on the frontend.

Does it work on multisite?

Currently designed for single-site installs. Multisite support may be added in the future.

Reviews

Балаҕан ыйа 22, 2025
I can’t say enough good things about Folder Auditor. It does exactly what it promises, but what really blew me away is the site lock feature. With just a click, I can lock down my entire site and know it’s 100% secure while I’m doing updates or troubleshooting. No more worrying about visitors running into broken pages or sneaky bots taking advantage while I work. The lock is instant, reliable, and gives me total peace of mind. I’ve tried other plugins with similar functionality, but nothing comes close to how smooth and effective this is. Combine that with the clean interface and lightweight performance, and you’ve got an absolute must-have for any WordPress site owner. If you value security and control, Folder Auditor is hands-down one of the best plugins you can install. Highly recommended!
Балаҕан ыйа 19, 2025
I installed Folder Auditor & Site Lock after noticing my /wp-content/ had turned into the wild west over the years, and I’m genuinely impressed with how clean and practical this plugin is. What I love most is the clear, no-nonsense workflow. The plugin adds a Tools Folder Auditor screen and immediately scans the places that matter: your WordPress root, wp-content, plugins, themes, uploads, and even .htaccess. It compares what’s actually on disk with what WordPress recognizes, which makes it dead simple to spot orphaned or hidden plugin/theme directories and other leftovers that accumulate after updates or partial uninstalls. No guesswork, no hunting through folders. Just a concise list of what needs attention and why. The UI is thoughtfully organized into tabs (Root, Content, Plugins, Themes, Uploads, .htaccess), with a dashboard that summarizes findings at a glance. When you’re ready to dive deeper, the details view makes it easy to review suspicious directories and understand what’s safe to investigate or remove. I also appreciate the “view file” action buttons for quick spot-checks when something looks off. The Site Lock feature is the icing on the cake. With a couple of clicks, you can lock folders and files read-only to block unauthorized changes. That’s exactly the kind of damage-prevention control I want on sites that shouldn’t be changing at the file level. Pair that with the ability to set sensible security headers, and you’ve got a lightweight, practical layer of protection that complements your existing security stack. Performance-wise, it’s a breath of fresh air. Nothing is running on the frontend; scans only happen when you open the tool. That means zero impact on visitors and no mystery cron jobs to worry about. It’s truly “install, activate, audit.” No complex configuration, no fiddly setup. Highlights: Instantly surfaces orphaned/hidden plugin and theme folders you won’t see on the normal Plugins/Themes screens. Flags missing plugin folders referenced by active/installed plugins (great for catching half-removed code). Tabbed interface for Root, wp-content, Plugins, Themes, Uploads, and .htaccess, with a summary dashboard. Site Lock to make folders/files read-only and apply security headers. Minimal footprint: runs only when you open the tool; nothing loads for site visitors. If you manage WordPress professionally or if your site has a few years of history, this is a must-have maintenance and hardening tool. It turns what used to be a tedious, risky manual cleanup into a confident, guided process. Five stars all the way. ⭐⭐⭐⭐⭐
Балаҕан ыйа 18, 2025
While I consider myself a fairly advanced WordPress user, I’m not technical enough to mess with MySQL tables. I’ve had my site since 2004 and it is crazy how much stuff has been left behind, how many outdated an unused files I have. Folder Auditor & Site Lock has done an amazing job pin pointing in a clear to understand way what is out of place, unused, potentially causing security issues and more. From my plugins, themes, main content — all of it. This is going to be a must-install for my old sites, and a will install on any new sites
Read all 3 reviews

Contributors & Developers

“Guard Dog Security & Site Lock” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

4.9.1

  • Added new infection patterns to stop false positives

4.9

  • Added new infection patterns to find bad files

4.8

  • Added new infection patterns to find bad files

4.7

  • Improved scanner performance

4.6

  • Added new infection patterns to find bad files

4.5

  • Removed MainWP integration for to correct time out updates and will repair

4.4

  • Added new infection patterns to find bad files

4.3

  • Setup MainWP bridge for unlock relock when running updates

4.2

  • Minor style changes

4.1

  • Added Site Lock Auto Enable
  • Automated Security Reports

4.0

  • Rebranded plugin as a full security suite

3.7

  • Updated infection scanner patterns

3.6

  • Added infection scanner for site files

3.5

  • Fixed bulk delete action
  • Updated some button styling

3.4.4

  • Fixed report fatal error

3.4.3

  • Fixed report hyperlinks

3.4.2

  • Fixed font styling on report download

3.4.1

  • Fixed typo

3.4

  • Added ability to download folder audit and security report

3.3

  • Added per folder lock exclusion
  • New UI on main menu

3.2

  • Added items locked to dashboard display

3.1

  • Fixed Site Health issue when Site Lock is on

3.0

  • Added user security settings to lock down account attacks

2.9.4

  • Added Site Lock under Tools menu
  • Added area for new settings tab
  • Added drop down to security tab
  • Style changes

2.9.3

  • Corrected bulk delete actions

2.9.2

  • Enhanced Site Lock conditioning

2.9.1

  • Fixed conflict with WP Rollback

2.9

  • Added view file action buttons

2.8

  • UI improvements

2.7

  • Fixed security header defaults

2.6

  • Fixed bulk ignore and delete functions

2.5

  • Added security area to lock folders and files and set security headers

2.0

  • New UI

1.3.1

  • Improved plugin header and descriptions.
  • Added Author URI and GPL license URI.
  • Enhanced escaping for better security compliance.

1.3.0

  • Added auditing of wp-content and WordPress root folder.
  • Improved error handling for unreadable directories.

1.2.0

  • Added uploads and themes auditing.
  • Improved plugin rows to match Plugins screen exactly.

1.0.0

  • Initial release. Added plugin folder auditing.