Protected a query