help with web proxy rule

Please help, I need to restrict access to all websites, only allowing access to one from an IP with web proxy rule.
thank you.

Something like this?

/ip proxy access
add dst-host=www.google.com src-address=192.168.1.0/24
add action=deny

https://help.mikrotik.com/docs/display/ROS/Proxy