Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to access external webserver via iframe using specific port

Posted on 2011-03-15
6
Medium Priority
?
488 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
Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

 

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

604 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