?
Solved

how to access external webserver via iframe using specific port

Posted on 2011-03-15
6
Medium Priority
?
486 Views
Last Modified: 2012-06-27
Hi,
can anyone tell me how I might integrate an iFrame into my externally hosted PHP website that lets me interact with an ASP database on an internal server.

The internal server only allows http traffic on port XXXX
Their firewall will only accept requests from a static IP address XXX.XXX.XXX.XXX

thanks
0
Comment
Question by:joomla
[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
  • 3
  • 3
6 Comments
 
LVL 5

Expert Comment

by:h4mi
ID: 35145854
Put this on the externally hosted site:

<iframe src="http://XXX.XXX.XXX.XXX">

You will need a webserver and website set up at the XXX.XXX.XXX.XXX computer to handle the database interaction to your internal server in order to display its output in the iframe.
0
 

Author Comment

by:joomla
ID: 35146295
thanks for your help
i did understand that level of knowledge
I'm looking for more detailed information
but thanks for touching base
0
 
LVL 5

Expert Comment

by:h4mi
ID: 35147573
You will need to provide a more detailed question in order to get a more detailed answer. Where along the way do you need help? Setting up a webserver? Making a webpage to query the database? Getting the correct query syntaxes? Setting up a database? (ASP is not a database.)
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:joomla
ID: 35152604
Thanks for your response again.
The scenario is that we have a website that sits on an externally managed webserver running PHP.
We have a SBS server hosting a database application that was written in ASP

We want to be able to allow people  to use our website under controlled conditions (specific port and IP address) to view and query the database.

We wondered if we could add an iframe to a html page on the server that would let us do that.
If so, what issues do I need to be aware of.
ie.. if it is possible and if so
What are the security concerns
Does the concept need two iframes, one for searching and one for displaying results
Is there any iframe syntax parameters I need to set

thanks again
0
 

Author Comment

by:joomla
ID: 35169751
Can anyone confirm if it is possible to have an iframe in a PHP page that interacts with a site running ASP.
I want the iframe to enable people on external server to be able to use the iframe to access data on a server running an ASP application

thankx
0
 
LVL 5

Accepted Solution

by:
h4mi earned 1000 total points
ID: 35172259
That is confirmed. An iframe is basically the same as another tab or browser window, it has very little to do with the container page.
0

Featured Post

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
Suggested Courses

801 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