Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  IFrame v04.03.00 Access is denied
Previous Previous
 
Next Next
New Post 2/26/2008 7:13 AM
Informative
User is offline Rob Ralston
60 posts
www.silverbullettech.com
10th Ranked




IFrame v04.03.00 Access is denied 
Modified By Vitaly Kozadayev  on 2/26/2008 12:33:07 PM)

Hello,

I've just upgraded IFrame to v04.03.00 on DNN 4.8.0. I was particularly interested in the Auto Height option.

When I select Auto Height to be True, I've noticed to things:

1) Auto height does not occur

2) I see "Access is denied" in the lower left of IE7

As soon as I remove Auto Height, the error in #2 goes away. Other than that, the IFrame is working as it did with the old 03.xx version.

The site is running in Medium Trust, if that has any bearing.

Thanks for any help with this.

Rob

 


Rob Ralston
 
New Post 2/26/2008 8:32 AM
User is offline Vitaly Kozadayev
613 posts
www.continure.com
7th Ranked






Re: IFrame v04.03.00 Access is denied 

Hi Rob,

"Access denied" error means that user's browser feels that it is unsafe for the main page to fiddle around the IFrame'd page. This security setting is not possible to overwrite, unfortunately. (Or, actually, fortunately, just not for IFrame designers :) )

This condition occurs when the domain of the main page is different from the domain of the included page. So, you can't IFrame yahoo.com into your site's page and have it autosize for you.

WARNING: mysite.com and www.mysite.com are considered DIFFERENT domains for this security issue. To avoid the problem 100% of the time, you should really just use a relative path, but that is not available with the current version of IFrame module. We will include this in the next version, of course.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 2/26/2008 9:17 AM
User is offline Rob Ralston
60 posts
www.silverbullettech.com
10th Ranked




Re: IFrame v04.03.00 Access is denied 

Thanks, Vitaly,

I had never encountered that before, so I appreciate the explanation and look forward to the next version.

Rob


Rob Ralston
 
New Post 2/26/2008 11:03 AM
User is offline Vitaly Kozadayev
613 posts
www.continure.com
7th Ranked






Re: IFrame v04.03.00 Access is denied 

The reason you haven't see it before is because it only happens when client-side script tries to snoop around a page displayed in IFRAME. So, when you selected auto height, you effectively invoked a client-side Javascript code that attempts to load the structure of the IFRAME'd document and check the height of it. It can do countless other things, but here it just does that. As soon as such an attempt is made, browser checks if it should allow Javascript to see that documents structure.

So, as you can see, unless you actually have some kind of client-side script doing these sort of things, you wouldn't encounter the issue. Since it's not super common - you haven't seen it yet.

We will try to implement some watch dogs in the future that would signal a developer of the site that they are going to have this problem. But for now... it's just me :)


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  IFrame v04.03.00 Access is denied
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP