콘텐츠로 바로가기
WordPress.org

한국어

  • 테마
  • 플러그인
  • 소식
    • 문서
    • 포럼
  • About
    • WordPress 6.9
    • 워드프레스 6.8
    • 워드프레스와 40% 웹을 위한 여정
    • 워드프레스 번역 핸드북
  • 워드프레스 한국팀
  • 워드프레스 받기
워드프레스 받기
WordPress.org

Plugin Directory

WindCodex SwitchGuard – WordPress User Switching & Audit Log for WooCommerce

  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인
  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인

WindCodex SwitchGuard – WordPress User Switching & Audit Log for WooCommerce

작성자: WindCodex
다운로드
  • 세부사항
  • 평가
  • 설치
  • 개발
지원

설명

WindCodex SwitchGuard is a secure, free user switching plugin for WordPress and WooCommerce. Switch into any lower-privilege user account in one click – no passwords, no account resets, no security risk.

Whether you are a support agent reproducing a customer bug, a WooCommerce store owner checking an order as the buyer, or a developer testing member-only content – SwitchGuard gives you instant access to any user account and brings you straight back when you are done.

Security-first design. Every switch is nonce-verified, role-hierarchy-enforced, and recorded in a signed session cookie. You cannot accidentally switch into an equal-or-higher privilege account.

Everything in the Free Version

One-Click User Switching
* Switch from the Users list with a single click – no page reloads
* Switch from any user profile edit screen
* Switch from WooCommerce order screens – jump straight into the customer’s account to reproduce checkout or order issues
* Admin bar quick search – find any user by name or email and switch instantly from any page

Access Control
* Switching is disabled by default – you opt in deliberately when you are ready
* Restrict switching to specific WordPress roles (e.g., only Shop Managers or Editors)
* Automatically blocks switching into administrator accounts
* Equal-or-higher privilege accounts are always blocked – no configuration needed
* Configurable session duration from 1 to 168 hours (default 48 hours)

Security & Audit
* Every switch action protected by WordPress nonces – full CSRF protection
* Switch sessions stored in a signed, HTTPOnly cookie – tamper-proof and replay-resistant
* Every switch action is recorded – who switched, when, from which IP, and for how long. A full audit log dashboard is available in SwitchGuard Pro
* No passwords stored, logged, or transmitted – ever
* Full WordPress multisite support

Switch Back
* Prominent Switch Back button always visible in the admin bar during any active switch session
* Switch Off to end the session permanently and return to your original account
* Session expires automatically when the configured cookie TTL is reached

Who Uses SwitchGuard?

  • WordPress support agencies – debug client accounts without password sharing or account handover
  • WooCommerce store owners – review orders from the customer’s exact perspective
  • Membership site admins – verify what members see after plan changes or role updates
  • Help desk and support teams – reproduce user-reported issues in seconds without a support ticket
  • Developers and QA teams – test role-restricted content, locked pages, and feature flags in context

How SwitchGuard Differs from Other User-Switching Plugins

Most user-switching plugins simply swap the WordPress session with no additional safeguards – leaving you exposed to privilege escalation and session fixation. SwitchGuard is built with security as the core requirement:

  • Role hierarchy enforcement – switch targets must have strictly lower privilege than the switcher. Peer and admin accounts are blocked at the server level.
  • Explicit opt-in – switching is disabled by default, not enabled. You turn it on deliberately.
  • HMAC-signed cookie session – the switch origin is signed with a secret key, not stored in a plain cookie or database row that can be tampered with.
  • Nonce on every action – switch, switch back, and switch off actions are all CSRF-protected with WordPress nonces.

🚀 Pro Version

Need IP allowlists, locked accounts, scheduled switching windows, email alerts, and a full audit log dashboard?
SwitchGuard Pro is available at windcodex.com

SwitchGuard Pro adds advanced controls for agencies, enterprise teams, and high-security environments:

  • Idle timeout – automatic switch-back after a configurable period of inactivity
  • Re-authentication gate – require password confirmation before privileged switches
  • IP allowlist – restrict switching to known office or VPN IP ranges
  • Scheduled windows – allow switching only during defined hours or days
  • Per-user grants – give specific users permission to be switched into
  • Full audit log dashboard – every switch event recorded with actor, target, IP address, and timestamp
  • Email alerts – notify admins when a switch session starts or ends
  • Locked user protection – prevent switching into flagged or suspended accounts

How It Works

  1. Activate SwitchGuard and go to the SwitchGuard settings page in wp-admin.
  2. Turn on Enable User Switching and configure which roles can switch.
  3. Click Switch To next to any user in the Users list, profile screen, or WooCommerce order screen.
  4. Work in the target account – browse the frontend, check orders, test content.
  5. Click Switch Back in the admin bar to return to your original account instantly.

Requirements

  • WordPress 6.0 or higher
  • PHP 8.1 or higher
  • WooCommerce is optional – order-screen switching only appears when WooCommerce is active

스크린샷

Users list – Switch To link next to each user row.
Users list – Switch To link next to each user row.
Admin bar – Quick user search, Switch Back, and Switch Off controls.
Admin bar – Quick user search, Switch Back, and Switch Off controls.
Settings page – Access Control, Integration Points, and session duration settings.
Settings page – Access Control, Integration Points, and session duration settings.
WooCommerce order screen – Switch to Customer button on order edit pages.
WooCommerce order screen – Switch to Customer button on order edit pages.

설치

From WordPress Dashboard (Recommended)

  1. Go to Plugins > Add New Plugin.
  2. Search for WindCodex SwitchGuard or SwitchGuard.
  3. Click Install Now, then Activate.
  4. Navigate to SwitchGuard in the left sidebar and configure your settings.

Manual Installation

  1. Download the plugin .zip file.
  2. Go to Plugins > Add New Plugin > Upload Plugin.
  3. Upload the zip and click Install Now, then Activate.
  4. Go to SwitchGuard in the left sidebar to configure.

FAQ

Is user switching safe?

Yes – when done correctly. SwitchGuard protects every switch action with WordPress nonces (CSRF protection), enforces role hierarchy so you can only switch into lower-privilege accounts, and stores the session in a signed HTTPOnly cookie that cannot be tampered with or replayed.

Does SwitchGuard store passwords?

Never. SwitchGuard switches your WordPress session without touching the login form. No passwords are read, stored, logged, or transmitted at any point.

Who can switch user accounts?

By default, any user with the edit_users capability (typically Administrators). You can restrict this to specific roles – for example, allowing only Shop Managers to switch – from the Access Control settings.

Can I accidentally switch into an administrator account?

No. SwitchGuard automatically blocks switching into any account with equal or higher privilege than the switcher. The “Block switching into administrators” setting adds an explicit extra layer on top of this rule.

How do I switch back to my original account?

A Switch Back button is always shown in the WordPress admin bar during an active switch session. Click it to return instantly. You can also click Switch Off to end the session entirely.

How is this different from the “User Switching” plugin?

SwitchGuard adds security layers that are not present in most other user-switching plugins: explicit opt-in (off by default), strict role hierarchy enforcement (server-side, not just UI), HMAC-signed session cookies (not plain database rows), nonce protection on every action, and a WooCommerce order-screen integration with an admin-bar quick-search switcher.

Does it work with WooCommerce?

Yes. When WooCommerce is active, a Switch to Customer button appears on order edit screens, letting you jump into the customer’s account to reproduce checkout issues, verify order history, or check account details exactly as they see them.

Does the switch session expire automatically?

Yes. The switch session is stored in a cookie with a configurable TTL (default 48 hours, adjustable from 1 to 168 hours). When the cookie expires, the session ends and you are returned to your original login state.

What happens if I close the browser during a switch session?

The switch session is stored in a persistent cookie (not a session cookie), so it survives browser restarts until the configured TTL expires. Once expired, you will need to log in again.

Does SwitchGuard work on WordPress multisite?

Yes. SwitchGuard is fully compatible with WordPress multisite networks.

Is SwitchGuard compatible with 2FA or membership plugins?

SwitchGuard bypasses the login form entirely, so it works alongside most 2FA and membership plugins. If a plugin enforces its own session validation on every page load, there may be edge cases – check the plugin documentation or contact support.

Can I log or audit switch sessions in the free version?

The free version records basic switch activity in signed session cookies but does not include a persistent audit log. A full audit log with actor, target, IP, and timestamp is available in SwitchGuard Pro.

Can I restrict which users can be switched into?

In the free version, you can restrict who can perform switches by role. Per-user target grants – allowing only specific users to be switched into – are available in SwitchGuard Pro.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“WindCodex SwitchGuard – WordPress User Switching & Audit Log for WooCommerce”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자
  • WindCodex

자국어로 “WindCodex SwitchGuard – WordPress User Switching & Audit Log for WooCommerce”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록을 RSS로 구독하세요.

변경이력

1.0.1

  • Improved: Settings page UI for better usability.
  • Added: Admin review request notice.
  • Added: Pro features notice.

1.0.0

  • Initial release.
  • One-click user switching from Users list, profile, and WooCommerce order screens.
  • Admin bar quick user search (name/email) with instant switch.
  • Explicit opt-in, role-based access control, and session duration settings.
  • Role hierarchy enforcement – equal-or-higher privilege targets blocked automatically.
  • Signed HTTPOnly session cookie with configurable TTL (1–168 hours).
  • CSRF-protected switch, switch-back, and switch-off actions.
  • Multisite compatible. Translation-ready.

기초

  • 버전 1.0.1
  • 최근 업데이트: 2주 전
  • 활성화된 설치 10보다 적음
  • 워드프레스 버전 6.0 또는 그 이상
  • 다음까지 시험됨: 7.0.1
  • PHP 버전 8.1 또는 그 이상
  • 언어
    English (US)
  • 태그:
    login as customerlogin as userswitch useruser switchingwoocommerce
  • 고급 보기

평점

아직 제출된 리뷰가 없습니다.

Your review

모든 리뷰 보기

기여자

  • WindCodex

지원

할 말 있으신가요? 도움이 필요하신가요?

지원 포럼 보기

  • 소개
  • 뉴스
  • 호스팅
  • 개인정보
  • 쇼케이스
  • 테마
  • 플러그인
  • 패턴
  • 배우기
  • 지원
  • 개발자 도구
  • WordPress.tv ↗
  • 참여하기
  • 이벤트
  • 기부하기 ↗
  • 미래를 위한 5가지
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

한국어

  • X(이전 트위터) 계정 방문하기
  • 블루스카이 계정 방문하기
  • 마스토돈 계정 방문하기
  • 스레드 계정 방문하기
  • 페이스북 페이지 방문하기
  • 인스타그램 계정 방문하기
  • LinkedIn 계정 방문하기
  • 틱톡 계정 방문하기
  • 유튜브 채널 방문하기
  • 텀블러 계정 방문하기
코드는 詩다
The WordPress® trademark is the intellectual property of the WordPress Foundation.