Hi, I am able to do that know, got a couple of hours free.
Shouldn't be so hard to do, I did something like that for a registration via email adresses domains/subdomains filtering.
So this should be much easier.
If you want we can chat for more details.