The legality of skateboarding in public spaces varies by location. Some cities have designated skate parks and areas where skateboarding is allowed, while in other places, skateboarding on sidewalks, streets, or public plazas may be restricted or prohibited to prevent disturbances and ensure safety.