Three booked for violating security ordinance