Preventing API IDOR Vulnerabilities and Data Leaks