Salesforce Decode
Salesforcedecode
Security & SharingIntermediateConceptualsecuritycorscsp

What are CSP Trusted Sites and CORS in Salesforce?

Scenario

An LWC fails to load images from an external CDN, and a separate web app cannot call Salesforce REST APIs from the browser.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.