This is a migrated thread and some comments may be shown as answers.

Https error: Access is denied

1 Answer 65 Views
Window
This is a migrated thread and some comments may be shown as answers.
Gideon
Top achievements
Rank 1
Gideon asked on 12 Feb 2010, 05:10 AM
Hi,

I have a problem on my live site using radwindow resize method, on the testing server (without https) the resize is working fine, but on the live server it generates javascript error on the resize method: Access is denied.


Click on the map picture to popup the radwindow, I've tested this case on IE, Firefox, and Google Chrome, in IE we can see the javascript error detail: Access is denied, but in Firefox and Chrome the javascript error is ignored but the resize is also not working.

Please advise as we cannot find any solution but to turn off the resize, but this solution is not acceptable.

Best regards,
Omar S.

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 16 Feb 2010, 10:22 AM
Hello Omar Suria,

I examined the provided live url and I was able to reproduce the problem. However it is not related to the RadWindow but to security mechanisms and how the browsers work. Your main page is under http while the page loaded in the RadWindow is under https and the different protocols are treated as if they were different domains. This is called cross domain scripting and  it is a security feature in browsers so there isn't a way to disable it. This being said you cannot manipulate the RadWindow's content page if you do not have both the pages in the same domain and under the same protocol. More information can be found in the net, e.g the following search:

http://www.google.bg/search?hl=bg&source=hp&q=http+https+javascript+permission+denied+iframe&meta=&aq=f&oq=&rlz=1W1WZPA_en


Best wishes,
Svetlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Window
Asked by
Gideon
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or