473,466 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Topic Completion

Everyone who contributed, thank you. But I just wanted to put one
final note on this topic to "round out" the real issue and goal of my
original post.

My real goal was to "obfuscate" the links in my web pages to graphics
on an e-commerce supplier's web host. Their domain is different than
mine, so I didn't want hackers or other curious types investigating my
upline supplier by going to the root of the domain specified in the
"img src=" tag. I get a database from them with the name of the
graphic, and I have a set of "strings" in my scripts of directories
for different sizes of the same graphic, etc... so I put together the
URL with two parts, [URL directory "string"] & [graphic name].

When sending any text from the the buffer back to the IE browser, for
the rest of all buffer flushes, it is set into a mode that will
interpret binarywrites as "ascii"... so, even a small piece of html
before the binarywrite will cause the browser to show a bunch of
interpreted stuff on the screen... response.clear, gets rid of
everything, but I wanted to intermingle the html and by binarywrite.
I don't know of a contentType that would make this happen together.

Furthermore, writing the file to the disk is way too intensive for
just browsing my catalog pages full of graphics, BUT is great code for
page scraping and saving graphics.

Anyway... it dawned on me. duh. All I wanna' do is make sure they
don't know the domain of the graphic source, so...

I created an getImage.asp file. It gets two querystrings: Image, and
Size. Image is the image name, size is a short variable denoting the
directory on the web host (the complete url/[directory] that only I
KNOW). From a <img src="getImage.asp?image=[blah]&size=[blah]"
border=0> tag within the document one can integrate the graphic
because the browser is making separate http socket connections out to
the script. The script does the appropriate binarywrite of the
responsebody in the img tag container.

At first I thought I could "encrypt" the q-string and then that led me
to see that I didn't HAVE to put the whole domain URL on the q-string.
Other code in this topic would be very good for page scraping.
Oct 17 '05 #1
0 1057

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

72
by: Wim Vanhoof | last post by:
Dear all, I would like to announce that the department of computer science of the University of Namur, Belgium, is seeking a post-doctoral researcher for a one-year fellowship in the area of ...
0
by: Edvard Majakari | last post by:
Suppose you have a program containing commands and file name parameters. A simple class providing completion could first read all the commands to list, and extend that list later using all file...
3
by: John | last post by:
Hi, Could you give your opinions on the best code completion in Python IDEs. My only complaint with PythonWin has been that the code completion support is incomplete. The interactive mode has...
67
by: Steven T. Hatton | last post by:
Some people have suggested the desire for code completion and refined edit-time error detection are an indication of incompetence on the part of the programmer who wants such features. ...
0
by: Nadav | last post by:
Hi, Usage of FileStream ( and other stream related objects ) internally use an IO Completion port, Now, Taking that in mind, does all of the stream object of a certain process use a single IO...
0
by: Hiroyuki Tanaka | last post by:
Hi, I am trying to develop an application for a touch screen using buttons for the numeric pad with Completion ComboBoxes. At the moment I am having a problem sending the button presses to my...
0
by: Hiroyuki Tanaka | last post by:
Hi All, I am trying to develop an application for a touch screen using buttons for the numeric pad with Completion ComboBoxes. At the moment I am having a problem sending the button presses to...
0
by: Oded | last post by:
Hi, I'm working on an ASP.NET application, written in C#, using VS.NET . When working on aspx pages, HTML completion does not work (neither tag closing nor statement completion). Completion works...
4
by: Rob Richardson | last post by:
Greetings! I am trying to write a set of macros to generate Property code for private variables. With the cursor on a line that says "Private m_MyThing as Thing", I would run the macro and ...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.