[XTR] Login as User

[XTR] Login as User 1.0.4

No permission to buy ($15.00)
Compatible XF 2.x versions
  1. 2.3
License
1 licence = 1 site
Updates duration
6 Months - US $15 / 1 Year - US $25
Visible branding
Yes, but removable with payment
loginAs-user.webp


πŸ” [XTR] Login as User

Enterprise-Grade Account Management for XenForo



What Is This Add-on?

[XTR] Login as User is a professional account management add-on that allows authorized XenForo administrators and moderators to temporarily access a member's account for support, debugging, or technical review β€” in a fully secure, auditable, and controlled manner.

Unlike basic alternatives available in the community, this add-on treats account impersonation not merely as a convenience feature, but as a governed administrative process β€” with layered security filters, complete lifecycle audit logging, CSRF protection, and ecosystem-wide guards.



Why [XTR] Login as User?

Various free add-ons exist that claim to provide this functionality. However, the vast majority of them suffer from critical architectural security gaps:

Security CriterionBasic Free Add-ons[XTR] Login as User
Tiered permission hierarchy (member/moderator/admin)βœ— Single permission, all accountsβœ“ 3 independent permission levels
Super Admin absolute protectionβœ— Not presentβœ“ Code-level, unbypassable
Password confirmation (Sudo Mode)βœ— Not presentβœ“ Present
Security page lock (password/email/2FA)βœ— Not presentβœ“ Full protection
Financial action restrictionβœ— Not presentβœ“ Present
CSRF protectionβœ— Incompleteβœ“ Full
Session timeoutβœ— Not presentβœ“ Configurable
Full audit log (start/end/reason/status)βœ— Login moment onlyβœ“ Full lifecycle
Group-based access restrictionβœ— Not presentβœ“ Present
2FA infrastructure integrityβœ— Globally disabled during sessionβœ“ Fully preserved



πŸ›‘οΈ Security Architecture

1. Three-Tier Permission Hierarchy
Far beyond a single "can use this feature" permission, the add-on implements a complete role hierarchy. Each level is independently assignable:
  • Regular Members: xentr_login_regular permission
  • Moderator Accounts: xentr_login_moderator permission
  • Administrator Accounts: xentr_login_admin permission (operator must also be an admin)
  • Super Administrator: Inaccessible to anyone β€” code-level absolute protection

2. Password Confirmation (Sudo Mode)
Before accessing any account, the operator must verify their own password within the last 5 minutes. This protects against unattended computers and hijacked sessions.

3. Security Page Shield
While in impersonation mode, the following pages are completely locked:
  • Password change (account/security)
  • Email address change (account/email)
  • Two-step verification management (account/two-step/*)
  • Passkey management
  • Connected social accounts
  • Application passwords

4. Financial Action Guard
While in the target account, the following actions are automatically blocked:
  • Account upgrade purchases
  • XENTR Credits transfer, exchange, and purchase
  • XENTR DigitalStore checkout and order processing
  • DBTech eCommerce payment and cart operations

5. Full CSRF Protection
All operations including login and revert are protected by XenForo's CSRF token system.

6. Session Timeout
Configurable timeout (0–1440 minutes). If the operator forgets to revert, the system automatically returns them to their original account and updates the log record.



πŸ“‹ Full Audit Logging

Every session records the following information completely:

Log FieldDescription
from_user_id / from_usernameThe operator who performed the action
to_user_id / to_usernameThe account that was accessed
log_dateSession start time
end_dateSession end time
statusActive / Reverted / Timed out / Failed
end_reasonManual / Timeout / Password changed / Permission revoked
reasonJustification entered by the operator
ip_addressIP address of the session

βš™οΈ Configuration Options

OptionDefaultDescription
Session Timeout15 minutes0 = unlimited, maximum 1440 minutes
Stealth ModeOnPreserves read markers, forum tracking, and online status
Stealth IP LoggingOnOperator IP is not linked to the target account
Info BannerOnShows persistent notice bar during impersonation
Login Reason ModeOptionalDisabled / Optional / Required
Staff BarOnQuick access link and active session badge in staff bar
Member Card ButtonOnLogin button in member tooltip card
Profile Page ButtonOnLogin button in member profile header actions
Moderator ToolsOnLogin option in moderator dropdown menu
Admin User EditOnQuick action in AdminCP user edit screen
Disallowed User GroupsEmptySelected groups are completely inaccessible
Disallowed UsersEmptySpecified accounts are completely inaccessible
Financial Action RestrictionOnBlocks purchases and transfers
Log Retention Period90 days0 = keep indefinitely, maximum 730 days



πŸ“ Access Entry Points

  1. Member Tooltip Card β€” "Login" button in the member popover card
  2. Member Profile Page β€” In the profile header action buttons
  3. Moderator Tools β€” "Login as User" option in the moderator dropdown menu
  4. Staff Bar β€” Quick access link and active session badge in the staff navigation bar
  5. AdminCP User Edit β€” Quick action in the admin panel user edit screen



πŸ” Security Features Summary

  • βœ… 3-tier permission system (regular member / moderator / administrator)
  • βœ… Super Administrator absolute protection (code-level)
  • βœ… Password confirmation requirement (Sudo Mode β€” 5-minute validity)
  • βœ… Security page shield (password / email / 2FA / Passkey)
  • βœ… Financial and commercial action protection
  • βœ… Full CSRF protection (login and revert)
  • βœ… Configurable session timeout with automatic revert
  • βœ… Dynamic session context validation
  • βœ… Full lifecycle audit log (start + end + reason)
  • βœ… Stealth IP logging (operator IP not linked to target account)
  • βœ… Stealth mode β€” read marker and tracking preservation
  • βœ… Group and user-based access restriction
  • βœ… Automatic log pruning (configurable retention period)
  • βœ… Banned/locked account access attempt protection
  • βœ… Login reason justification (optional or required)
  • βœ… Full XenForo Phrase system compliance (multilingual)
  • login-as-user-log.webp
    login-as-user-log.webp
    14.3 KB · Views: 16
  • login-as-user-permissions.webp
    login-as-user-permissions.webp
    12.6 KB · Views: 16
  • login-staff-bar.webp
    login-staff-bar.webp
    10.3 KB · Views: 15
  • login-user-notice.webp
    login-user-notice.webp
    7.2 KB · Views: 16
  • memberTooltip.webp
    memberTooltip.webp
    22.1 KB · Views: 18
  • options.webp
    options.webp
    55.8 KB · Views: 19
  • password-confirmation.webp
    password-confirmation.webp
    10.8 KB · Views: 19
  • profile-login.webp
    profile-login.webp
    39.1 KB · Views: 15
  • user-edit-login.webp
    user-edit-login.webp
    30.5 KB · Views: 15
Author
Osman
Views
36
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Osman

Latest updates

  1. 1.0.4

    This comprehensive update introduces the brand new Admin Alias (Quick Account Switching) feature...
  2. 1.0.3

    This version prevents accidental automatic re-downloads under the administrator's identity when...
  3. 1.0.2

    This maintenance release primarily addresses unexpected template warnings that could appear in...
Back
Top Bottom