473,394 Members | 1,878 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Proxying a secure web page within my web page

I am trying to display pages from a firewalled web server on an accessible web server. I have access to the public web server and the public web server has access to the private one. In a way I want to have a mini local web client imbeded in a section of my web page. I don't need to browse, just see the status of a backend server.

I am using c# and aspx code behind to access the page. I can get some of the page using this:

Expand|Select|Wrap|Line Numbers
  1. HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
  2.   request.Method = "GET";
  3.   response = request.GetResponse();
  4.   reader = new StreamReader(response.GetResponseStream(), Encoding.UTF8);
  5.   result = reader.ReadToEnd();
  6. Response.Write (result);
I have at least two problems. The hard one first. The text, buttons and links show up, but the images are not displayed and reference local files, not the images from the site. There is also a Java Applet on the page that does not work. I get Applet X notinited. Is there a simple solution to fix this?

If Response.Write is the best way to do this I would like to have Response.Write write the output to a specific location (like a cell in a table) or a new popup window. I saw an example here to use:

[HTML]<span id="myLabel">
<% Response.Write "Some Text" %>
</span>[/HTML]

How do I get this to work when the “Some Text” needs to be generated and refreshed in the code behind section?

Thanks
Feb 22 '08 #1
0 752

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Sarah Tanembaum | last post by:
I was wondering if it is possible to create a secure database system using RDBMS(MySQL, Oracle, SQL*Server, PostgreSQL etc) and web scripting/programming language(Perl, PHP, Ruby, Java, ASP, etc)...
1
by: mark | r | last post by:
i have an ecommerce site that is split across two domains, a secure space that retains cc details and the main site where contact information and order details are held. I need to be able to...
6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
7
by: Seth | last post by:
I have noticed that the id of my session object changes when I switch from a non-secure to a secure connection. What I'm trying to do: I have a cookie that is built on the non-secure side of...
0
by: Rob Meade | last post by:
Hi all, ok - the scenario... We have a secure login page known as the Clinical Portal (single login etc) - we have a web user control for this which checks if a session is available or not...
40
by: Robert Seacord | last post by:
The CERT/CC has released a beta version of a secure integer library for the C Programming Language. The library is available for download from the CERT/CC Secure Coding Initiative web page at:...
0
by: jhsedona | last post by:
I try to upgrade site from non-ssl to ssl site, but there are too mcuh thing to do. I decide to use url forwarding to https://www.domain.com for my whole site. When i go to 1st page of site, ...
2
by: Timbo | last post by:
Hello all, I have created a secure folder on my web server and created a user and password that can access it. So when you navigate to a page/file within this folder the login box appears. ...
3
by: Jeff Dege | last post by:
We have an app that is written in C#/ASP.NET 2.0, and hosted on IIS. Or rather, it's mostly written in ASP.NET, but parts of it are client- side javascript, pulling data from an Apache webserver...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.