filter package to implement the security layer