apply security filter