Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Defence against CSRF for API's

How we can defence against CSRF attack on the apis which are exposed on the apigee ?

domain level restriction can be added in CORS but what about apis ? any suggestion

<Header name="Access-Control-Allow-Origin">allowed-domain-only</Header>
0 3 570
3 REPLIES 3

Not applicable

You can verify the origin header in request side.

I am looking some other suggestion for API's, we are already covering that and same highlighted in the question itself

Not applicable

Ok, then try cookies cleared for each request and resubmit the cookies again.