buying medicine online

hi
in UAE there is a ban on a lot of medicines that are available on the market with and without prescription. There are also medicines that are not banned but are not allowed without prescription. but a lot of medicines are not available in UAE are have to be ordered. what I would like to know that if u ordered a medicine online like EBay or amazon, that is not banned but restricted to be given not without prescription, will that also be a problem?
will they stop my shipment when it arrives?