HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
FaxWave - Free Trial.
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 2nd, 1999, 04:32 PM
DesertFox
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Hello,

I'm just wondering what needs to be done so that the "view source" of IE and Netscape displays only the text I want displayed.

Can anyone recommend what books/research needs to be done?


Thanks

Reply With Quote
  #2  
Old June 3rd, 1999, 01:08 PM
dahamsta
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
View Source does exactly what it says on the tin, views the source of the current document. You can't tell it how much or how little of it to show.

Well, technically, you can, if you want to go hacking the Netscape source code. But that would mean than only the browsers you've hacked will have the mod.

Why do you want to do this? Are you trying to protect your source, or do you want to display your source to users in a certain format?

adam

Reply With Quote
  #3  
Old June 3rd, 1999, 05:18 PM
DesertFox
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I'd like to protect parts of it.

Well actually, I ran into a page that did exactly that. I clicked on view source and all I saw was a short copyright page.

I was just curious on how that can be done.

Maybe the entire page was a Java applet.

Reply With Quote
  #4  
Old June 3rd, 1999, 08:50 PM
dahamsta
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Well, I've heard of it being done, and people boasting that they can do it, but I've never actually SEEN it.

A lot of the time, people trick you into thinking there's no source by hitting return a lot, so you have to scroll to get at the source. Most people don't notice the scroll bar...

If you don't mind me asking, why do you need to protect it?

adam

[This message has been edited by dahamsta (edited 06-03-99).]

Reply With Quote
  #5  
Old June 3rd, 1999, 09:33 PM
DesertFox
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You're probably right about the enter key scroll hide trick.

I'd like make a form with hidden variables and links to other pages.

Reply With Quote
  #6  
Old June 4th, 1999, 02:14 AM
dahamsta
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Well, the only way to hide stuff like that really is to use CGI. You could hide your variables behind less obvious ones and your url's behind keywords. With HTML or JavaScript though, it's pretty much impossible.

adam

Reply With Quote
  #7  
Old June 4th, 1999, 04:23 PM
scollo
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You can also use an external .js file.

<SCRIPT language='javascript' src='ext.js'>
</SCRIPT>


Reply With Quote
  #8  
Old June 4th, 1999, 05:16 PM
dahamsta
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
scollo's right, you can use external JavaScripts, but that won't stop the detemined SOB's. Most people that will take the time to look at your source will know how to get at the JavaScript file.

Again, for decent security, CGI is the way to go. But I love Perl, so I guess I'm biased... URL

adam

Reply With Quote
  #9  
Old June 10th, 1999, 01:46 PM
click_46
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Easy, think PHP Scripting

click_46

Reply With Quote
  #10  
Old June 10th, 1999, 01:51 PM
dahamsta
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Huh? Methinks I'll wait for Zend...

adam

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > View Source


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway