Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Hide URL of cgi script

Posted on 2000-03-28
2
Medium Priority
?
426 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 20 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

916 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