Enabling CORS has several security issues:
- CSRF
- exposure of protected data
But are there any issues for a public and readonly webservice to enable global CORS?
Access-Control-Allow-Origin: *
My assumptions:
- CSRF is not relevant, because webservice is readonly.
- stealing of protected data is not relevant, because webservice is public.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…