Many if not most security portals utilize an alarm sensor to detect if the portal has been forced open or left (propped) open. The software for a portal is intrinsically capable of managing the security portal alarm. Those alarms are also bypassed (ignored) automatically when the door is opened legally to enter or to exit.