Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

this page is accessing information that is not under its control

 
Anu pama Dande
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

when i m trying to access a url using AJAX it is poping up a dialog box saying

"this page is accessing information that is not under its control. this poses a security risk. do you want to continue"

how can i get rid of that dialog box? or is there any other way in AJAX code which allows me to show that page without displaying this box.

i appreciate any help.

Thanks,
Anu.
[ March 17, 2006: Message edited by: Bear Bibeault ]
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I *believe* that it can be because of you have set security level High in IE or you have installed Firewall client on your PC. Just check it and let us know.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you accessing a different domain that the one that served the page?
 
Anu pama Dande
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi chetan, I have Firewall client installed on my system.

The application which I am working with is to be used by various users who has obviously, firewall installed on their systems.

And Bear Bibeault, you are right I am accessing the page of a different domain.

But my point is when I am using iframe to display the page it is working fine [as iframe takes source from a different domain n displays it perfectly, without any security message]. Using Ajax -> as it gets data from diff domain and converts that to local html, i suppose, why is it giving me the security message.

I appreciate if anybody can let me know, do I have to go for iframe again, or is there anyway in Ajax i can get the page from different domain and display it in my webapp without any dialog boxes appearing [even if firewall is enabled or security is set high in web browsers].

Thanks,
Anu
 
Bushra Fathima
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Even i have the same message getting displayed. I have a client firewall client installed in my machine also. I'am using ajax to access information from another system. Is ther anyway to suppress this message without browser settings.

Any help would be appriciated.


Thanks

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript can not access data on another domain. JavaScript has a same domain policy. You either need to use a proxy or JSONP

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic