In Cloud Computing Resources are allocated to customers based on their requests and prioritization, but sometimes a non-cloud provider organization wants to share their spare resources to same customers through Cloud Brokers so in this type of system a heterogeneous environment is created between regular cloud providers, Non-cloud provider organization, cloud broker and customers. In this paper we proposed an algorithm for maintaining this communication secure, reliable, and authentic between cloud providers and customer. Here we generated a link between customer and cloud provider through Cloud broker for secure service till session expiration. By implementation of this algorithm on CloudSim, we noticed better results in terms of better resource utilization, Connection reliability, Session handling and in fault tolerance.