A mutual authentication protocol for databases