This paper presents a credit-based methodology to detect and differentiate DDoS attacks from legitimate flash crowd traffic in cloud computing environments. By classifying users into well-reputed, reputed, and ill-reputed categories based on their credits, the proposed framework aims to mitigate DDoS attacks and improve resource utilization while reducing overhead. Simulation results indicate improved security and operational efficiency in cloud resource management through this innovative approach.