Big technology companies do not always get their way on patents at the U.S. Court of Appeals for the Federal Circuit. Just ask HTC Corp. and Amazon.com Inc.

The two lost separate attempts Friday to shield themselves from computer security patents asserted by much smaller companies.