The Defense Department is looking to protect federally funded research from foreign governments.