Designing a fuzzy-logic based trust and reputation model for secure resource allocation in cloud computing