• #32238
    Forcetalks

    What is locker service in Salesforce Lightning?

    What is locker service in Salesforce Lightning?

     

    #32252
    Forcetalks

    Hi Avnish,

    Locker Service is a powerful security architecture for Lightning components. Locker Service enhances security by isolating Lightning components that belong to one namespace from components in a different namespace. Locker Service also promotes best practices that improve the supportability of your code by only allowing access to supported APIs and eliminating access to non-published framework internals.

    #34612
    Salesforce | shariq shariq #1
    Forcetalks

    Hi,

    To add more –

    At a high level, Lightning Locker uses various technologies and techniques that are intended to do the following:

    Prevent:

    • Components from causing XSS and similar security issues
    • Components from reading other component’s rendered data without any restrictions
    • Components from calling undocumented/private APIs

    Enable:

    • Cool new features like client-side API versioning similar to REST API versioning
    • Faster security review
    • Better and more secure JS development practices
    • Running 3rd party JS frameworks like React, Angular and so on
    • Easily adding or removing new security features and policies

    Hope this helps.

    #34682
    Salesforce | Parul Parul #2
    Forcetalks

    Locker Service is a security architecture for Lightning components. Locker Service enhances security by isolating Lightning components that belong to one namespace from components in a different namespace.

    Prevent:

    Components from causing XSS and similar security issues
    Components from reading other component’s rendered data without any restrictions
    Components from calling undocumented/private APIs

     

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?