Newer Version Available
Lightning Web Security
Lightning Web Security is designed to make it easier for your components to use secure
coding practices. Lightning Locker has been the default security architecture for all Lightning
components. Lightning Web Security (LWS) is gradually replacing Lightning Locker for Lightning web
components and Aura components. LWS is based on web standards and has fewer restrictions and more
functionality than Lightning Locker.
For detailed information on Lightning Web Security, including how to enable Lightning Web Security instead of Lightning Locker, see the Lightning Web Components Developer Guide.