Page Authority – Allowed Domains

Page Authority – Allowed Domains

Allowed Email Domains gives administrators a simple way to restrict WordPress user accounts to approved email domains.

The plugin is designed for sites where only users from specific organizations, companies, clients, or teams should be added as WordPress users.

Features include:

  • Admin-managed allowed domain list
  • Standard WordPress registration enforcement
  • REST API user creation/update enforcement
  • WooCommerce registration enforcement
  • Existing User Audit tools
  • Optional login enforcement
  • Per-user unauthorized account removal with content reassignment
  • Multisite-aware protections
  • Lightweight architecture with no custom database tables

Security Notes

The plugin includes:

  • Capability checks
  • Nonce verification (verified before any state-changing logic runs)
  • Sanitization and escaping
  • Live revalidation before destructive actions
  • Current-admin protection
  • Multisite Super Admin protection
  • Explicit content reassignment or delete confirmation before user removal

Recommended operational practices:

  • Review the Existing User Audit before enabling login blocking
  • Test custom registration and SSO flows before production rollout
  • Maintain regular database backups before deleting users
  • Restrict plugin management access to trusted administrators only

Uninstall

Deleting the plugin removes its current options:

  • pageauth_allowed_domains
  • pageauth_audit_log
  • pageauth_block_unauthorized_logins

It also cleans up internal flags, transients, user meta, and any leftover keys from prior plugin versions that used the paad_ or aed_ prefixes. On multisite, the matching network options are removed as well.

  1. Upload the zip file to wp-content/plugins/
  2. Activate Allowed Email Domains in WordPress Admin
  3. Go to Users > Allowed Domains
  4. Add approved domains, one per line

سوالات متداول

What format should allowed domains use?

Enter one domain per line. Domains are normalized to begin with @.

Example:

@example.com
@company.org
@agency.net

What happens if the allowlist is empty?

If the allowlist is empty, all email domains are allowed.

Does this affect existing users?

Existing users are not automatically disabled, deleted, modified, or logged out.

The Existing User Audit identifies existing users whose email domains are not currently allowed. Administrators can review those users individually.

Can unauthorized users be deleted?

Yes. The audit table includes per-user delete actions for unauthorized users.

When a user owns posts or pages, a confirmation modal appears with a dropdown of compliant users (those whose email is on the allowlist) for content reassignment. Administrators can also choose to delete the user and all their content.

Deletion actions are protected by nonce verification, capability checks, confirmation prompts, current-admin protection, multisite Super Admin protection, and a server-side failsafe that refuses to silently delete a user’s content.

Can users with unauthorized domains be blocked from logging in?

Yes. Optional login enforcement can be enabled after reviewing the Existing User Audit.

Login enforcement is disabled by default to avoid accidental lockouts.

Does this plugin create custom database tables?

No. The plugin stores settings using WordPress options and does not create custom database tables.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
بازخورد (Feedback) های اینلاین
مشاهده همه دیدگاه ها
نسخه حجم فایل SHA256 تغییرات دانلود
2.0.0 25 کیلوبایت -
دانلود
×
بدون امتیاز

قیمت:

رایگان

نگارش

2.0.0

آخرین انتشار

2 خرداد 1405

آخرین بروزرسانی

4 هفته پیش

نصب های فعال

-

نگارش وردپرس

وردپرس 6.0+

تست شده از نسخه

وردپرس 6.9.4

نگارش PHP

PHP 7.4+

نسخه ها

1 نسخه