2

IP whitelist for DirectAdmin and API login


H
Hansm

We currently use the login_pre hook (which is deprecated) to secure logins to admin accounts for whitelisted IP addresses only. It seems there's no comparable supported hook which can replace login_pre. Session_create_pre can be used but doesn't work for API calls.

I suggest an option in DirectAdmin to whitelist IP addresses which may have access to the control panel. Maybe only for admins and resellers, as this could be very support demanding when it can be done at user level.

A