Solved

navigating sub frames across different domains

Posted on 2003-10-23
11
639 Views
Last Modified: 2008-01-09
Help needed.
I have to IIS server with differnet domains.
Some web pages from one domain holds in a frame or iframe some of the web pages placed on the second domain.
Since IE browser has a security probelm with that i cannot access the web pages of one domain from the web pages of the second domain.
How can configure both IIS servers or one of them to allow access to another domain.
(changing the user browser security is not possible)
0
Comment
Question by:etay
  • 4
  • 3
11 Comments
 
LVL 4

Expert Comment

by:hamidovt
ID: 9605089
As far as I know it should work without any problem.
I have such a situation and it works without any special configuration...
I have IE with default settings and IIS was installed with default settings as well.
0
 

Author Comment

by:etay
ID: 9605189
Sorry what i really ment was:
access data sources across domains
0
 
LVL 4

Expert Comment

by:hamidovt
ID: 9605224
Do you mean ODBC data sources  to Access database?

if that is what you mean, you are searching in wrong direction.
domains are not problem. the problem is that ODBC connection to Access does not work if database is on another server. that is stupid, but it works only if database is located locally.

the only way around it is to create local database with links(via ODBC) to the tables in database on desired server. This way you will cheat the server, because it will think that database is local.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:etay
ID: 9605260
no what i mean is calling from JS function to another JS function in a web page in my iframe which is on another domain
0
 
LVL 4

Expert Comment

by:hamidovt
ID: 9605280
that is not possible!!!
as you said yourself, because of the security.

just include same js file(you can do that via http as well)
<script language="Javascript" src="http://sss.ss.s/common.js"></script>
and call the function!
0
 

Author Comment

by:etay
ID: 9605444
it doesnt do me any good i need to access the script so across domains so i can access the web page remoptely.
& never say it is not possible , theres always a way.
0
 
LVL 4

Accepted Solution

by:
hamidovt earned 250 total points
ID: 9605600
I say "not possible" only if I am sure...  If you have any other idea, just let me know:)

I guess you did not understand what I suggested. I will try o explain it once more.

suppose you have "page1.htm" on http://sss.ss.s/, so your url is http://sss.ss.s/page1.htm 
if you have your JS functions included in "common.js" in same directory the url for them would be http://sss.ss.s/common.js 
if your second page "page2.htm" is on http://www.ww.w/ url for it would be http://www.ww.w/page2.htm 

in order to call functions from http://sss.ss.s/page1.htm just include http://sss.ss.s/common.js 
you can do it with <script language="Javascript" src="http://sss.ss.s/common.js"></script>
after that you can call any function from common.js

0
 
LVL 4

Expert Comment

by:1mak
ID: 9606091
If you want to get a hold of the contents from one web page for use in another then you will need to do it by opening up the page in a server side component of some description. (e.g. The Microsoft XMLHTTP component (part of the Microsoft XML library) allows you to get the contents of web pages.) Once you get the contents of the page you will need to parse it in some way to find the data you are looking for...

It may help the 'experts' on here if you give a brief overview of what you're trying to achieve?
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Do we need servers??? 5 196
File download script VBSCRIPT fail on download PPT files 2 51
URGENT - Wordpress site missing  theme 9 40
Wordpress plugins not working in html 3 21
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

776 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