If you missed your flight because of a security check, there is usually very little that you can do about it. Airports and airlines are well within their rights to search passengers thoroughly to ensure everyone's safety. Though you can ask to be rebooked on a later flight, they will likely charge a rebooking fee.