Added protect() method to protect against mass injection