Police have offered security advice following the attempted theft of a car on a Bradford street.