Avatar of garyb2008
garyb2008
 asked on

Web Browser Control and Cross frame security

I have a Web Browser Control on a Microsoft Access form.

I use the .Navigate method to load a local html page i mocked up. This page, stored on a local drive, in turn has 2 iframes each linking to a different external site.

I get Access Denied error message when i try to access the DOM of one of the frames.

This is because of cross frame security, ie to access the DOM of the page in the iframe i have to go through the DOM of my local page and this cant be done as there on different domains and security zones.

How can i bypass this?
Microsoft DevelopmentMicrosoft AccessVisual Basic Classic

Avatar of undefined
Last Comment
garyb2008

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jeffrey Coachman

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
garyb2008

ASKER
I think your right that i have just hit upon the limit of what the webbrowser control can do and i have to change the structure of the app to proceed with this.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes