Context-based Access Control for Ubiquitous Service Provisioning