Securing Tags to Control Information Flows within the Internet of Things