RESTFull ifaces and security