Solved

Cross Domain IFrame Access Denied

Posted on 2007-03-26
2
912 Views
Last Modified: 2013-12-08
My question is what constitutes cross domain in IE7 and what can trigger it?  I'm trying to use ASP.NET Ajax preferably without having to edit the .js files myself.  We are using IFrames... the main site is:

Main Site:  portal.mydomain.com
IFramedPage:  mywebsite.mydomain.com:8002

I thought these would be in the same domain but I'm still getting IE7 'Access Denied' errors (mywebsite.mydomain.com works fine when it's not in an IFrame).  I have a blog entry to fix the issue but I need to know the following two questions

Questions:

1.)  Are those not in the same domain?
2.)  What the definition of the same domain in IE7 because I apparantly don't know it.
0
Comment
Question by:IUFITS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
epochasset earned 250 total points
ID: 18794641
Hi Iufits,

To my knowledge it would be the same host that the domain resolves to (and same port).

Think of this model.

mywebsite.mydomain.com  (.com is the first level of the domain, mydomain is the second level, and mywebsite is the third).

These are technically two different third level domains (while their the same second and first, etc).

This error may not clearly indicate its presense though.

Check into the following two links and see if anything there may help.  Good luck.

http://weblogs.asp.net/bleroy/archive/2007/01/31/how-to-work-around-the-quot-access-denied-quot-cross-domain-frame-issue-in-asp-net-ajax-1-0.aspx

http://blogs.msdn.com/delay/archive/2007/02/05/safely-avoiding-the-access-denied-dialog-how-to-work-around-the-access-denied-cross-domain-iframe-issue-in-the-ajax-control-toolkit.aspx
0
 
LVL 2

Assisted Solution

by:alfredwhang
alfredwhang earned 250 total points
ID: 18798894
this is more commonly known as cross site scripting or XSS.  go wiki on it.  doesn't matter how you do it so long as your page refers to two or more different sources then you will have trouble with any secured browser.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can I do Unit Testing with Session ? 1 23
How to build a web site 17 57
Measure time after installing Antivirus 8 59
Calculating percentage 2 30
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question