Learn why setting Access-Control-Allow-Origin to * is dangerous, how attackers exploit permissive CORS policies, and how to configure a secure origin allowlist.