官术网_书友最值得收藏!

Authentication on Force.com

We can log in to Force.com from any standard web browser or third-party application. As a security measure, Salesforce tries to prevent unauthorized access to your account as it requires verification whenever you log in from a new IP address. The user is authenticated using the username, password, and the IP address of the system. The IP address where account is created is automatically white-listed for the user:

Authentication on Force.com

Every time the user logs in from a separate IP address, the application verifies the IP by sending an e-mail to the registered e-mail address in the personal profile. Alternatively, the system administrator can enable access by setting the trusted IP ranges. Users who log in from the white-listed IP ranges are not asked to validate their IP address or the security token.

Tip

The Force.com username is in the format of an e-mail address: xyz@abc.com; the username is unique across the global organization of Salesforce. If you already have a developer organization with abc@hotmail.com, you won't be able to create another one in with the same username. You can give a separate username (someone@something.com) and a valid e-mail (abc@hotmail.com) in this case.

Exercise – adding trusted IP addresses

Use the following steps to whitelist an IP address:

  1. Go to Setup | Administer | Security Controls | Network Access.
  2. Add your IP address to Trusted IP Ranges, as shown in the following screenshot:
    Exercise – adding trusted IP addresses

If you are within a LAN network of your office, university, and so on, the IP address given by the ipconfig command in DOS will give you the internal network-specific IP. This IP address is not seen by Force.com; you need the public domain IP address to whitelist the address. To find your public domain IP address, you can visit http://www.whatismyip.com.

Whitelisting the IP address has its own pros and cons; the main benefit is that when logging in via the API, such as with Data Loader or the Force.com IDE, you aren't challenged to provide the security token. The disadvantage is that the security token challenge and IP address verification challenge are not enforced, thus lowering the security threshold of a malicious login attempt.

When you log in to Force.com from a third-party tool, such as the Force.com IDE, Outlook Edition, Data Loader, or the API, you need an additional security token along with a username and password. Every login user gets a security token tied to the password. We need to reset the security token the first time. It is automatically reset whenever the password is changed.

Exercise – resetting security tokens

Reset your security token in the new org.

To reset your security token, navigate to Your Name | My Settings | Personal | Reset My Security Token, as shown in the following screenshot, and click on Reset Security Token:

Exercise – resetting security tokens
主站蜘蛛池模板: 盖州市| 正蓝旗| 天柱县| 英山县| 马关县| 灵寿县| 育儿| 加查县| 富顺县| 句容市| 米泉市| 黑水县| 堆龙德庆县| 玛多县| 谷城县| 永寿县| 油尖旺区| 扎赉特旗| 惠州市| 上高县| 贡嘎县| 汉寿县| 崇左市| 高清| 库尔勒市| 涞源县| 公主岭市| 乐业县| 贺州市| 巴东县| 湖南省| 伽师县| 唐河县| 巴马| 昔阳县| 通许县| 蒙自县| 梁平县| 阿克陶县| 铜山县| 新野县|