Questions about legality

I want to visit Malaysia and Bali but I am worried about the legality of the trade. I don't want to be on the wrong side of the law since getting prosecuted will mean that my family will know. I was wondering if the law allows clients to be prosecuted in Indonesia and Malaysia. Also how does one ensure that basic sexual acts like kissing and boob sucking will be allowed by the girl . I have read some reviews where even basic acts is not allowed by the girl once inside the room. Do you negotiate with the establishment before hand?