Solved

Hide URL of cgi script

Posted on 2000-03-28
2
414 Views
Last Modified: 2013-12-25
Hi,

anyway to stop others from viewing the source and especially the URL.
I'd a script which had html and cgi script as one. So how can I stop others frome viewing the source?

rgds,

B
0
Comment
Question by:BSIM
2 Comments
 
LVL 2

Expert Comment

by:djsansui
ID: 2677027
Source of what?

The users should not be able to see source of your programs, if they can, something is wrong with your program or server.  There is absolutely no way to hide the HTML source code, the browser must recieve it in order for it to make the page, so you can't hide it from your users without feeding them a blank document.

What are you trying to accomplish?
0
 

Accepted Solution

by:
henefeld earned 10 total points
ID: 2679235
You can't hide HTML source. On the other hand, I agree with djsansui. The user doesn't see your source - only the HTML you create on-fly. If you're embeding your script, the user will see the code, but won't see its URL, simply because it doesn't have one (it's not an independent program.) On the other hand, if you sending user to independent CGI script, your source is safe, and one way to hide its URL, is to use frames.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

679 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