NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Concealing Source Code

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 02-26-2004, 08:46 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Sep 2003
Posts: 46
Smilin' Jack is an unknown quantity at this point
 



Concealing Source Code


Concealing Source Code

How can I keep my code from bieng viewed.
I see on some sites that there is a restriction when you right click and select "View Source".

Thanks!
__________________
"Never let the future disturb you. You will meet it, if you have to, with the same weapons of reason which today arm you against the present".
- Marcus Aurelius
Smilin' Jack is offline  
Old 02-26-2004, 10:37 AM   #2 (permalink)
Account Suspended
Join Date: Feb 2004
Location: Bothell, Wa
Posts: 237
Zero-Life is an unknown quantity at this point
 



thats a js script, no real way to block it. look it up on http://hotscripts.com
Zero-Life is offline  
Old 03-03-2004, 02:20 AM   #3 (permalink)
NamePros Expert
 
Anthony's Avatar
Join Date: Dec 2003
Location: NYC
Posts: 9,134
Anthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant future
 

Member of the Month
October 2004

Why do you want to conceal it?

I'd just add a bunch of space at top and then some people will think it is blank.
Anthony is offline  
Old 03-06-2004, 09:11 AM   #4 (permalink)
New Member
 
Cory's Avatar
Join Date: Jan 2004
Location: New Windsor, MD
Posts: 4
Cory is an unknown quantity at this point
 



This script will prevent users from right-clicking to view the source, but they can still select it from the browser menu (e.g., View >> Source in IE).

But keeping users from right-clicking can also prevent the "casual" user from right-clicking to save your images. They can still pull them out of their cache, however.

In the end, there is no way to hide anything from your users. You are, after all, sending all your source code and images to their browser.

http://www.dynamicdrive.com/dynamicindex9/noright.htm
Cory is offline  
Old 03-06-2004, 03:39 PM   #5 (permalink)
Senior Member
 
OxDomains's Avatar
Join Date: Sep 2003
Location: NYC
Posts: 2,481
OxDomains has a brilliant futureOxDomains has a brilliant futureOxDomains has a brilliant futureOxDomains has a brilliant futureOxDomains has a brilliant futureOxDomains has a brilliant futureOxDomains has a brilliant futureOxDomains has a brilliant futureOxDomains has a brilliant futureOxDomains has a brilliant futureOxDomains has a brilliant future
 



Use Flash instead! There is no way you are going to hide your source code... sorry!
__________________
FHAMortgage.us.com is for Sale
OxDomains is offline  
Old 03-07-2004, 08:51 PM   #6 (permalink)
New Member
Join Date: Mar 2004
Posts: 2
tempest1 is an unknown quantity at this point
 



Even in flash there is something called "Sowthink flash decompiler" or something like that.
tempest1 is offline  
Old 03-08-2004, 01:08 PM THREAD STARTER               #7 (permalink)
NamePros Member
Join Date: Sep 2003
Posts: 46
Smilin' Jack is an unknown quantity at this point
 



Talking Concealing Source Code


Thanks to everyone for this one.
I've come to the conclusion that the answer is "NO!!!"

Jack
__________________
"Never let the future disturb you. You will meet it, if you have to, with the same weapons of reason which today arm you against the present".
- Marcus Aurelius
Smilin' Jack is offline  
Old 03-10-2004, 06:54 PM   #8 (permalink)
NamePros Expert
 
Anthony's Avatar
Join Date: Dec 2003
Location: NYC
Posts: 9,134
Anthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant future
 

Member of the Month
October 2004

Re: Concealing Source Code


Quote:
Originally posted by Smilin' Jack
Thanks to everyone for this one.
I've come to the conclusion that the answer is "NO!!!"

Jack
Yeah, that's the answer you were supposed to have come to... Anyway, you can just add a bunch of line space to the top of the file if you want to get rid of the people who are too lazy too scroll
Anthony is offline  
Old 04-05-2004, 12:52 PM   #9 (permalink)
NamePros Member
Join Date: Apr 2004
Location: Sweden
Posts: 47
bassplayinuk is an unknown quantity at this point
 



[EDIT] I linked a bad page. Sorry.
Last edited by bassplayinuk; 04-05-2004 at 12:57 PM.
bassplayinuk is offline  
Old 04-27-2004, 09:29 PM   #10 (permalink)
NamePros Member
 
OneEyedDog's Avatar
Join Date: Mar 2004
Location: Middle Earth (NZ)
Posts: 149
OneEyedDog is on a distinguished road
 



Quote:
Why do you want to conceal it?

I'd just add a bunch of space at top and then some people will think it is blank.
Yea, I seen a similar trick like this somewhere too, they just write "Your IP Address is being recorded", add a bunch of space before the first html tag and the average user freaks out a bit and closes the source code LOL
????: NamePros.com http://www.namepros.com/programming/21851-concealing-source-code.html

Warm Wishes,
__________________
Script Installation, Avatars, Banners and Buttons for $NP or Paypal, PM me your requirements :D
Deni J Vanin | Freelance Jobs and Forums | Web Design
OneEyedDog is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:40 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger