Tag Archives: Salesforce Data Security

Securely Perform CRUD in Salesforce Lightning Web Components (LWC)

In this blog, we’ll explain why you can’t directly perform DML operations from JavaScript in Salesforce Lightning Web Components (LWC), and how to do it the right way using Apex or Lightning Data Service. Knowing this is important for keeping your data secure, respecting user permissions, and following Salesforce best practices. We’ll walk you through… Read More »

Preventing Cross-Site Scripting (XSS) in Salesforce Lightning Components

Cross-Site Scripting (XSS) is one of the most common security vulnerabilities in web applications. It occurs when malicious scripts are injected into web pages, potentially leading to data theft, session hijacking, or unwanted UI manipulation. While Salesforce provides strong, built-in protection against such attacks, developers must also adopt secure coding practices when working with Lightning… Read More »

Assign custom object permissions to Standard User in Salesforce

One of the key tasks of Salesforce administrator is to assign custom object permissions to the standard Users in Salesforce. One can simply assign a user with administrator rights and can avoid the trouble of assigning privileges to different user groups. However, this would mean providing users with unrestricted access, which could potentially lead to… Read More »