Symfony Doctrine ORM Database Security Filter