Unfortunately, I can't give you an exact solution, but I can hopefully give you some pointers to a solution;
You will need to set up various ACLs to specify the source addresses...
acl all_access_traffic src 192.168.0.17
acl yahoo_access src 192.168.0.5
Now configure what destination domains are allowed for the 192.168.0.5 address...
acl yahoo_access dstdomain .yahoo.com
This will allow all traffic for the 192.168.0.17 address...
http_access allow all_access_traffic
I hope this will help.