President Barack Obama is banning the federal government from providing some types of military-style equipment to local police.