vlan by mac

Hi

I would like to create 4 vlans without routing between them, and place computer in correct vlan basing on his mac address.
Is there any way to do that on Mikrotik router and unmanagement switch? Maybe with radius server on smth like this? Some computers are connected via WiFi and some by ethernet cable.

Dynamic VLAN Assignment with RADIUS and CAPsMAN Configuration Example
https://mum.mikrotik.com/presentations/CN16/presentation_3107_1461137144.pdf

hope this helps.

Seems good.
But what if some user will enter ip mask etc manually. Is there any way to block it?