When we try to access BAM Portal, sometimes Office Web Components Display Cross-Domain warning messages such as:
“This Web site uses a data provider that may be unsafe. If you trust the Web site, click OK, otherwise click Cancel.”
Or this other common warning messages
“This page accesses data on another domain. Do you want to allow this?”
Or even:
“Failed to get data. If available, errors returned from the provider are listed below… Safety settings on this machine prohibit accessing a data source on another domain.”
Cause
These are some of the normal warning messages that the Microsoft Office 2003 Web Components displays when a user tries to accesses to BAM Portal, some because a scripted Web page tries to run ADO code from an untrusted provider (accessing data from a domain other than the one from which the Web page originates)
For ADO 2.7 and earlier you may receive: “This page accesses data on another domain. Do you want to allow this?”
However, for ADO 2.8 and later, the preceding message no longer appears. Instead, the following message appears in this context: “This Web site uses a data provider that may be unsafe. If you trust the Web site, click OK, otherwise click Cancel.”
The purpose of the alert is to prevent a Web page author from directing users to a potentially malicious page that uses the security context of the user to access data for which the author does not have access.
Solution
To avoid these messages in Microsoft Internet Explorer, you can add a secure Web site to your Trusted Sites zone on the Security tab of the Internet Options dialog box:
- In the Internet Explorer window, click “Tools”, then click “Internet Options”.
- Click the “Security” tab, and then select the “Trusted sites” zone.
- Click the “Sites” button, and then “Add” the BAM Portal to the Trusted sites zone