However, laws are broken when the vending machine sells regulated products, such as cigarettes, to people who are not legally allowed to purchase such products. [0006] Many municipalities, including New York City, have passed laws banning vending machines that sell regulated products, such as cigarettes.