This is a big subject.
in the uk, if I try to sell pills that I no are illegal I could get busted and taken to prison.
but if you live in a country that doesn't give a shit on pill laws, you will not get busted.
so CPA and affiliate deals are all preference and your problem checking legal rules with your country your choice.
in the UK the computer online rule is
NO MATTER WHERE YOUR OPERATING ANY COMPUTER FROM YOU ARE RESPONSIBLE FROM WHERE IT IS NOW.
so if I am logged in to USA and do anythink illegal and get busted, the law will still arrest me as doing the crime where I am now, no good saying but i am online usa .
hope you understand be wise