A federal appeals court ruled Friday the Transportation Security Administration can still use full-body scanners at airports, but said the agency erred in how it deployed the controversial machines.