Solved

Hide URL of cgi script

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now