Solved

how to access external webserver via iframe using specific port

Posted on 2011-03-15
6
482 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
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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 250 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

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.

Question has a verified solution.

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

Suggested Solutions

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn how to dynamically set the form action using jQuery.

770 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