Data security in smart cities