how do i restrict specific mac addresses from loging on with my user name and password
which device(s) are you using or referring to? is "mac addresses" as in "network addresses"? or are you referring to Internet address in Safari with name and password saved in your iCloud Keychain? Just in case it is the latter, search on your browser for "Frequently asked questions about iCloud Keychain"