In New York, it is illegal to park in front of a driveway, whether it's public or private. This will land you a parking ticket, and your car will be towed. However, you can park in front of a driveway if you are the building's owner or tenant in that building with the driveway.