aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes this page is accessing information that is not under its control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "this page is accessing information that is not under its control" Watch "this page is accessing information that is not under its control" New topic
Author

this page is accessing information that is not under its control

Anu pama Dande
Greenhorn

Joined: Mar 06, 2006
Posts: 12
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

Joined: Sep 16, 2004
Posts: 3636
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.


My blood is tested +ve for Java.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Are you accessing a different domain that the one that served the page?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Anu pama Dande
Greenhorn

Joined: Mar 06, 2006
Posts: 12
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

Joined: Oct 22, 2008
Posts: 11
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
JavaScript can not access data on another domain. JavaScript has a same domain policy. You either need to use a proxy or JSONP

Eric
 
Don't get me started about those stupid light bulbs.
 
subject: this page is accessing information that is not under its control