Security and trust in ubiquitous systems