Title: Security and Fault Tolerance in Internet of Things