N.Y. VAT. LAW § 1233 : NY Code - Section 1233: Clinging to vehicles

1. No person riding upon any bicycle,
  coaster, in-line skates,  roller  skates,  skate  board,  sled,  or  toy
  vehicle shall attach the same or himself or herself to any vehicle being
  operated upon a roadway.
    2.  No  person  shall  ride on or attach himself to the outside of any
  vehicle being operated upon a roadway.
    The provisions of this section shall not apply to:
    (i) vehicles in an emergency  operation  as  defined  in  section  one
  hundred fourteen-b of this chapter; and
    (ii)  farm type tractors used exclusively for agricultural purposes or
  other farm equipment; and
    (iii) riding on the open, uncovered cargo area of  a  truck  with  the
  permission of the operator of such truck; and
    (iv) vehicles employed by a municipality for local garbage collection;
  and
    (v) vehicles participating in a parade pursuant to a municipal permit.
    3. No vehicle operator shall knowingly permit any person to attach any
  device or himself to such operator's vehicle in violation of subdivision
  one or subdivision two of this section.