WordPress.org

Make WordPress Core

Opened 18 months ago

Last modified 18 months ago

#43635 new enhancement

Allow to (only) store users in an external user database/backend

Reported by: freeaqingme Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.4
Component: Users Keywords: has-patch
Focuses: Cc:

Description

Hi,

I'm busy on a project where I want to use an external user backend. Various solutions exist to mirror the user database to a remote service, but my goal was to have an entirely empty wp_users and wp_usermeta table. If my wordpress installation were to be compromised, this would provide an extra layer of security.

I was pleasantly surprised by the vast number of hooks that were already present to accommodate this, and only a few small modifications were necessary to also support my use case.

Please see the attached patch. Feedback is appreciated, of course.

Attachments (1)

patch (5.1 KB) - added by freeaqingme 18 months ago.

Download all attachments as: .zip

Change History (2)

@freeaqingme
18 months ago

#1 @freeaqingme
18 months ago

  • Keywords has-patch added
  • Summary changed from Allow an external user database to be used to Allow to (only) store users in an external user database/backend
Note: See TracTickets for help on using tickets.