script for unknown mac address

dear all
is there any script to auto block any device whose trying to connect to my hotspot without authorized by username and password or who didn’t assigned his mac address on ip bindings by myself

best regards

Hotspot-Feature or do you mean Wireless-AP ?

thank you for your help and reply
for Hotspot-Feature please
thanks again