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
CakePHP | How to change Epoch timestamp (unix timestamp) timezone in cakephp find query
Suppose we have a table cake_test with a column named modified that contains epoch values. CakePHP code: $options = array ( ‘fields’ => array ( “modified”, “to_timestamp(modified) as New__original”, “to_timestamp(modified) AT TIME ZONE ‘America/Denver’ as New__converted” ) ); $result =
Salesforce | Fetch more than 2000 records using REST asynchronously in C#
Salesforce gives us a limit of 2000 records to fetch from it using REST calls. But sometimes we need to get all the records from Salesforce. In Salesforce, there is a limit of API calls. By default, it gives 15,000
MySQL | How to convert row values into column names
Sometimes requirement arises to display a field value as column name in output and adjacent values in the same row below it as its values. Suppose I have a table “students” with marks of each student in different subjects. Each
AWS | How to auto generate S3 Policy
Steps to auto generate AWS S3 Policy that you can use to provide access rights according to requirement: → Open S3 from AWS console: 1. Click on AWS bucket 2. Now, click properties 3. Click on Add bucket policy: 4.
Java | Stripe – Handling expired credit cards
Description: We are registering our customers using Stripe payment gateway where we are storing customer card details. We are doing recurring payment for customers periodic billing cycle. But if customer’s card expires or card number changes, we will not get
More about Salesforce Customer Portal
How to set logout URL for customer portal: -> Go to Quick find box and write customer portal settings. -> Now, open the portal that you want to edit. -> Click on the edit button: -> Enter the URL under
Salesforce | Display PHP Page in the Salesforce Tab
Step to insert PHP Page in Salesforce: 1. Go to setup->Create->Tabs in Salesforce: 2. Under Web Tab, click on new button. Now you can select the Page layout you want to set – full page width or 2 columns with
AngularJS 2 with Node.js
AngularJS 2 is the most popular Framework of Javascript which is used to build Web/Mobile applications in html and javascript. AngularJS 2 has the abilities to build apps for web, mobile web, native mobile and native desktop and it has
SecurityError: Blocked a frame with origin from accessing a cross-origin frame
Error: Blocked a frame with origin “http://xxx.xxx.xxx.xxx” from accessing a frame with origin “http://xxxxx:xxx”. Protocols, domains, and ports must match. Scenario: We have a cakephp website. In one webpage say “Parent Page” of this website we have used iframe to show
