wpcount registered users at a glance dashboard

WordPress

Last updated:

Count and display number of WordPress users in your Dashboard

Show the number of registered WordPress users in a At-a-Glance widget. This is particular handy as an indicator of compromise (IoC), when a hacker has registered numerous new users in your WordPress database for spam purposes.

WordPress

Last updated:

Disallow direct access to PHP files in wp-content/uploads/

Securing the WordPress uploads folder is important. In many hacked WordPress sites, a PHP backdoor is found within the WP_CONTENT_DIR/uploads directory. Often because this is the location where uploads are placed automatically. From the backdoor within wp-content/uploads other backdoors are uploaded to various locations, and scripts are injected with malware.

virt-manager - virtual machine manager logo

Windows Server

Last updated:

Managing KVM VMs with virt-manager on Windows

In this post, I will show you how to connect to your KVM VMs (virtual machines) in Windows 10 via SSH using virt-manager (Virtual Machine Manager) and qemu+ssh://. This allows you to manage your virtual machines from Windows.

IIS FTP IP Address and Domain Restrictions

Windows Server

Last updated:

IIS 10.0 FTP IP Security allow list

In this post I’ll show you how to configure an IP allow list for IIS FTP Server using PowerShell, iisadministration and webadministration modules.

WordPress

Last updated:

Delete spam comments after three (3) days

How to change Akismet interval to three days instead of 15 days for deleting spam comments using the akismet_delete_comment_interval filter.

Windows Server

Last updated:

IIS backup and restore

Learn how to back up and restore IIS 10 webserver configuration with appcmd.exe and PowerShell

scrabble tiles spelling out the word data on a wooden surface

Useful

Last updated:

Converting an Access 2003 database to 2007 and higher online

Learn how to programmatically convert legacy Microsoft Access 2003 (.mdb) databases to the modern .accdb format using Classic ASP and the ACE engine. This guide provides essential scripts for performing online conversions and database maintenance directly on your IIS web server. It is an ideal solution for sysadmins managing legacy environments who need to upgrade data storage without local access to Microsoft Office.

Windows Server

Last updated:

Import .reg file in Windows Registry silently

Learn how to silently import a .reg file into your Windows Registry. This neat regedit trick comes in handy quite often. The regedit command is valid for Windows 11, 10, Windows Server 2022, 2019 and older.

Umbraco

Last updated:

11+ Tips to optimize Umbraco 7 CMS

Umbraco 7 is a popular, ASP.NET powered, content management system (CMS). Out of the box Umbraco performs pretty well, but there are still some areas you need to tweak and tune for a more performant Umbraco website. Here are 11+ tips.

Lego security officer keeping your sites secure

Security

Last updated:

.htaccess security best practices in Apache 2.4.6+

Since Apache 2.4.6, a new module is used to configure and set up access control for websites: mod_authz_core. This means you have to use a different syntax for allowing or blocking hosts and IP addresses to your website. Apache Access Controle done right in WordPress .htaccess.

Windows Server

Last updated:

How to set SVN_EDITOR environment variable in Windows Server

Set SVN_EDITOR environment variable in Windows Server to resolve the svn error “None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no ‘editor-cmd’ run-time configuration option was found.”