Laws for e-commerce are ill-defined and subject to varied interpretations. Various laws such as the information technology act, 2000; the drug and cosmetics act, 1940; drugs and cosmetic rules, 1945; pharmacy act, 1948; and the indian medical act, 1956, govern the online pharmacies in india. Many of these, including the drugs and magic remedies act, under which drug advertisements are regulated, were written when use of computers and the internet was not as prevalent as it is now. As per the indian laws, medicines can be sold only by a registered pharmacy that has a retail license and a registered pharmacist on payroll.