Solved

how to access external webserver via iframe using specific port

Posted on 2011-03-15
6
481 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

930 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now