No, a security may NOT do this: a security guard has no right whatsover to take your belongings. Remember, a security guard is just a private citizen: he or she is not the police, and even the police may only confiscate your property with good cause in certain circumstnaces--other private citizens may never take your property. Based on what you write, what this guard did may be theft; you should contact the police about this.