Book Image

Salesforce.com customization handbook

Book Image

Salesforce.com customization handbook

Overview of this book

Table of Contents (19 chapters)
Salesforce.com Customization Handbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Remote site settings


Salesforce allows you to access external website resources from a Salesforce application for your organization. You can access these external websites through Visualforce pages, Apex Callout, and via XmlHttpRequest calls. To avoid accessing malicious websites from Salesforce.com, the website first needs to be registered with remote site settings. Once the site is registered, it can be used within Salesforce.com.

To register a new site, follow these steps:

  1. Navigate to Setup | Administer | Security Controls | Remote Site Settings.

  2. Click on the Remote Site Edit button to add a new site:

    It will redirect you to a new page where you have to fill in the required information to register the new site. The description of various fields is as follows:

    Field

    Description

    Remote Site Name

    Here, you can enter the name of the remote site.

    Remote Site URL

    Here, you can enter the URL for the remote site.

    Disable Protocol Security

    Select this to allow access to the remote site...