Let user only logon from one IP

Hello,

is it possible to allow special users (or a special group) only to logon from specific IP addresses or specific IP networks?
All other users should still be able to logon from every IP.

Best regards
Bernhard