Exit SHARING-AND-VISIBILITY-ARCHITECT Salesforce Certified Platform Sharing and Visibility Architect (Plat-Arch-205)
Question 1 of 5
0% complete
Q1 Multiple choice

Universal Container has developed a custom Visualforce page that will accept user input and must prefer returning the results to the users.

Which two techniques should be used to ensure the users cannot perform a SOQL injection attack?

Select all that apply.

  • A

    Escape double quotes in the user input.

  • B

    Use bind variable in the SOQL query.

  • C

    Use the escapesinglequotes() method to sanitize user input.

  • D

    Use the with Sharing keyword on the controller.

Previous Next