Security measures?
Why do you think this would help?
But, if you want to do it=> all the standard public xenforo username autocomplete fields get the data from XenForo_ControllerPublic_Member::actionFind
you would need to overwrite this, another way is to filter the user inside of the view object ( XenForo_ViewPublic_Member_Find )