Hotspot profile with website blocking

I am a new user for MT. I want to create wifi hotspot with different profiles. I know about creating server profile and user profiles. The problem is, I want to block some sites for certain user profile. For example, User Profile1 can’t access youtube, facebook etc. User Profile2 can’t access Youtube, Dailymotion etc.

Is it possible to create such a setup using Mikrotik ? Please help.

If there is only one profile that should be filtered, and only one set of filters, you could set up http proxy with the filtering you want, and then make the filtered user profile have transparent http proxy, and set the open profiles not to use the proxy.

There might be a better way, but this is the first solution that came to my mind.

Thanks for the reply. The problem is, there are many profiles for hotspot.

You have to duplicate entries for every profile.

without hotspot server and profile ,

I will tell you how can to block website

Through firewall / layer 7 / when you finished from layer 7 then go to filter and add chain : forward / and go to advanced / choses from layer 7 put a (contain layer 7 when you created )

code for block / ^.+(website.com).*$

regards