It is legal to keep dogs in Hart Park in Bakersfield, However we would not recommend it as there are many dangerous animals in the park.