Solved

Hide URL of cgi script

Posted on 2000-03-28
2
422 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
[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
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

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

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

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
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…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to count occurrences of each item in an array.

615 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