Tag Archives: SOQL

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 »

How to send CSV attachment in apex code

In this blog, we will discuss How to send csv attachment in apex code. Here, we are going to see how create a csv file with code and then we will send that file as attachment to the mail with the help of the apex code. Apex logic to send the csv attachment with mail:… Read More »

SOQL Injections in Salesforce

SOQL Injection is the breach of our application security which is dangerous for our valuable data. This happens because preventive measures are not taken into consideration when we write our SOQL queries for any DML operation. When the queries are formed dynamically with front end input, user can use backend queries differently to get the… Read More »