How do you ensure API security and avoid data leakage
Ensuring API security and preventing data leakage is critical in any Salesforce integration. Whether you’re exposing or consuming APIs, you must follow best practices around authentication, authorization, encryption, data validation, and monitoring. Key Strategies to Secure Salesforce APIs & Prevent
PHP and AWS | Copy AWS S3 file to local folder
How to copy a file from Amazon s3 to some local folder using PHP code $t=file_put_contents(‘[Destination file address]’, file_get_contents(“[S3 url]”)); Here $t will get the size of file in bytes if successful otherwise 0. Before executing this make sure that
Java | Instance and Static variables with final keyword
When to use instance variables, static variables and when to use final with them? Instance variables belong to the object and each object has its own value for each instance variable. For example: The company has many employees and each
Cron jobs in Totara
When I made any new changes to the audience or add a new user(s) to existing audience in totara, it didn’t reflect in the member area of that audience. Sometimes it doesn’t even show changes made for many days because
CakePHP | Calling Web API in CakePhp 3.x
Web API requests in CakePhp 3.x and difference from curl in php. Cakephp provides an easy method to communicate with webservices as compared to core PHP. In core php we make api requests using curl. Below is the sample code
Java | Few tips about Maven
1. How to compile maven project using different poms? Solution: When we start compiling project with mvn -clean install command, maven tool first attempts to search the pom.xml file in the current directory. If no pom is found in the
Sendgrid | Display sender name with email in “from” field
If we want that when we send email to our users using sendgrid api then the name of the sender (if we provide) should appear along with sender-email then follow the process given below : To accomplish this, we just
Selenium IDE | Switch automation process to new browser window after link click
Selenium IDE: (How to copy a link from a webpage and opening it in a new window and switch the automation process to new window). Problem: In Selenium IDE we were required to copy a visible link on a webpage,
Salesforce | Steps to create Web To Lead form
Steps to create Web To Lead form in Salesforce Steps To Follow: 1. Login to your Salesforce account. 2. Click on Setup. 3. Under Build, section click on customize. 4. Click on Leads. 5. Under leads click on the web
OpenSSL Project | The Heartbleed Bug
The OpenSSL Project is an Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS) protocols as well as a general purpose cryptography library and contains the following vulnerability: Allows stealing the information protected, under
