Notices

Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Hiding your source code(website)

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 04-05-02, 05:11 PM Thread Starter   #1
Roof Jumper
Member



Join Date: Apr 2002
Location: In a spider hole

 
Hiding your source code(website)


How do you hide your source code from "courious" people.
Roof Jumper is offline   QUOTE Thanks
Old 04-05-02, 05:49 PM   #2
Ebola
Senior Toilet Scrubber

 
Ebola's Avatar 

Join Date: Jan 2001
Location: Rosemount, MN

10 Year Badge
 
why do you care. i hate it when people put in the javascript code that doesnt let you right click. hence I wont go to site like this.

if your really interested go to http://javascript.internet.com

I'm sure its there.

__________________
[Cythraul Design]
Ebola is offline   QUOTE Thanks
Old 04-05-02, 05:52 PM   #3
Bmxpunk86pl
Member

 
Bmxpunk86pl's Avatar 

Join Date: Sep 2001
Location: CT/Poland

 
The thing is, is when u have that javascript that doesn't let you right click, you can still go to view and then source. Also if someone really, really wanted to see ur source, they cant be stopped. Best thing to do is to pull the plug.
Bmxpunk86pl is offline   QUOTE Thanks
Old 04-05-02, 06:11 PM   #4
Cooler666
Disabled



Join Date: Jan 2002

 
there's no way not to see the source

just make sure you copyright your website, that'll take care of it
Cooler666 is offline   QUOTE Thanks
Old 04-05-02, 07:16 PM   #5
_Will_
Member

 
_Will_'s Avatar 

Join Date: Jul 2001
Location: Minneapolis, MN

 
well you can always use pseudo-encryption (aka making code that runs around in circles so much people won't bother to try to understand it unless they're incredably bored)

__________________
Join the Folding@Home Team!


How would you listen to a fish?

- Mr. Rogers


_Will_ is offline   QUOTE Thanks
Old 04-07-02, 06:03 PM   #6
JigPu
Inactive Pokémon Moderator

 
JigPu's Avatar 

Join Date: Jun 2001
Location: Vancouver, WA

10 Year Badge
 
Here's a source code encrypter....

http://www.dynamicdrive.com/dynamicindex9/encrypter.htm

Just throw in your code, and click encrypt. Everything will look as gross as you can get it.

JigPu

__________________
.... ASRock Z68 Extreme3 Gen3
.... Intel Core i5 2500 ........................ 4 thread ...... 3300 MHz ......... -0.125 V
2x ASUS GTX 560 Ti ............................... 1 GiB ....... 830 MHz ...... 2004 MHz
.... G.SKILL Sniper Low Voltage ............. 8 GiB ..... 1600 MHz ............ 1.25 V
.... OCZ Vertex 3 ................................. 120 GB ............. nilfs2 ..... Arch Linux
.... Kingwin LZP-550 .............................. 550 W ........ 94% Eff. ....... 80+ Plat
.... Nocuta NH-D14 ................................ 20 dB ..... 0.35 C°/W ................ 7 V


"In order to combat power supply concerns, Nvidia has declared that G80 will be the first graphics card in the world to run entirely off of the souls of dead babies. This will make running the G80 much cheaper for the average end user."
"GeForce 8 Series." Wikipedia, The Free Encyclopedia. 7 Aug 2006, 20:59 UTC. Wikimedia Foundation, Inc. 8 Aug 2006.
JigPu is offline   QUOTE Thanks
Old 04-08-02, 01:19 AM   #7
XWRed1
Senior Member

 
XWRed1's Avatar 

Join Date: Oct 2001

 
It would probably be better described as a code obfuscator.

Even then, I don't see why that would stop anyone from taking your html. Is your html that awesome anyways? If it is, you should be proud to show it off.
XWRed1 is offline   QUOTE Thanks
Old 04-08-02, 11:07 PM   #8
adovbs
Registered

 
adovbs's Avatar 

Join Date: Mar 2002
Location: Texas

 
A lot of the sites you may *think* have their code "hidden" in fact just have about 50 or 100 blank lines at the beginning of the web document. If you scroll on down that apparently "blank" file, suddenly you'll notice - hey, there's code there after all!

;-)

Adovbs

Other than that, not much you can do (at least not to my knowledge) except what's already been posted, and that's sure not fool proof.
adovbs is offline   QUOTE Thanks
Old 04-09-02, 12:07 AM   #9
Burning Phoenix
Member

 
Burning Phoenix's Avatar 

Join Date: Jul 2001
Location: Schenectady NY

10 Year Badge
 
You can use PHP to write your html.
I use the javascript which doesn't allow right clicking but there are ways to get around it for more experienced html users. It does slow down most who try to steal your graphics though. I have the very short script if you wish.

__________________
3.0c Northwood – ASUS P4C800-E : 512M Corsair XMS DDR400
Dual Xeon 3.2GHZ - ASUS NCCH-DL : 2G Mushkin DDR400
Dual Xeon 2.5ghz quad cores – ASUS DSBF-DE : Mushkin 8GB PC2 6400 : 3x 1TB Seagate
Burning Phoenix is offline   QUOTE Thanks
Old 04-09-02, 02:35 AM   #10
XWRed1
Senior Member

 
XWRed1's Avatar 

Join Date: Oct 2001

 
Really, who cares, the whole idea is assinine.

Writing php in lieu of being able to conceal html is silly, you're doing more work for no reason, you still need to send html to the browser.
XWRed1 is offline   QUOTE Thanks
Old 04-09-02, 08:56 AM   #11
adovbs
Registered

 
adovbs's Avatar 

Join Date: Mar 2002
Location: Texas

 
Quote:
Writing php in lieu of being able to conceal html is silly, you're doing more work for no reason, you still need to send html to the browser.
Exactly.

The only way this would even be useful at all is if you had some kind of proprietary business logic that you didn't want exposed to prying eyes, so you did all the computations server side and just served up the result, instead of using something more client side like inline javascript. Now that I can see being worth the added effort, but not just a normal web page.

Adovbs
adovbs is offline   QUOTE Thanks
Old 04-09-02, 09:04 AM   #12
UnseenMenace
UnseenModerator

 
UnseenMenace's Avatar 

Join Date: Apr 2001

10 Year Badge
 
While there is software around that can download a complete site which then can be viewed at your own pace and the souce code can be read using notepad.. it does seem a little pointless and the effort could be better used in making a nicer site

__________________
one M15x is never enough

Last edited by UnseenMenace; 04-09-02 at 09:09 AM.
UnseenMenace is offline   QUOTE Thanks
Old 04-11-02, 04:37 PM   #13
RadicalBender
New Member

 
RadicalBender's Avatar 

Join Date: Mar 2002

 
Quote:
Originally posted by adovbs
A lot of the sites you may *think* have their code "hidden" in fact just have about 50 or 100 blank lines at the beginning of the web document. If you scroll on down that apparently "blank" file, suddenly you'll notice - hey, there's code there after all!
Yeah, most of the time, that's just where the PHP (or ASP or CF) code that doesn't get passed to the browser is at.

Quote:
Other than that, not much you can do (at least not to my knowledge) except what's already been posted, and that's sure not fool proof.
There isn't anything. Lots of people try, but there's nothing fool-proof. If all else fails, I can telnet to a server on port 80 and pull the raw code that way.

Oh, same with images, too. Lots of people try to block those and it's just not possible.

--Ben
RadicalBender is offline   QUOTE Thanks
Old 04-12-02, 02:21 PM   #14
Beelzebub
Member

 
Beelzebub's Avatar 

Join Date: Feb 2002
Location: Irvine, California

 
I don't see how it would be possible to prevent people from stealing images. All those things go to the browser cache anyway.

That is, unless there is a way to prevent it
Beelzebub is offline   QUOTE Thanks
Old 04-12-02, 05:23 PM   #15
XWRed1
Senior Member

 
XWRed1's Avatar 

Join Date: Oct 2001

 
You could make a java applet and use that to show images.... but that would be lame, and make me not want to visit your page.
XWRed1 is offline   QUOTE Thanks
Old 04-12-02, 07:50 PM   #16
Beelzebub
Member

 
Beelzebub's Avatar 

Join Date: Feb 2002
Location: Irvine, California

 
Talk about going to extremes. If your graphics are so important that you don't want people on the Internet to get them, then ummm... don't post them on the Internet
Beelzebub is offline   QUOTE Thanks
Old 04-13-02, 12:06 AM   #17
RadicalBender
New Member

 
RadicalBender's Avatar 

Join Date: Mar 2002

 
Here's an article that goes through every option in what people try to do to protect images (and how no method works effectively):

http://www.evolt.org/article/Thwarti...094/index.html

--Ben
RadicalBender is offline   QUOTE Thanks
Old 04-13-02, 12:21 AM   #18
Crash893
"The man in black fled across the desert, and the gunslinger followed."
Senior Member

 
Crash893's Avatar 

Join Date: Mar 2001
Location: 22033

10 Year Badge
 
why not just make tumb nails of you picture that are reallllly realllllllly tiney so if some one wants a real one they have to contact you

__________________
My Prime95 stats Huzza
1004.793 Years total
Noli turbare circulos meos!
i'm moving to Theory, Everything works there
' I want to be the unwobbling pivot at the center of an ever-revolving universe; I want to be still.'
Crash893 is offline   QUOTE Thanks
Old 04-16-02, 07:29 AM   #19
Matthew1001
Member



Join Date: Feb 2002
Location: Birmingham, Alabama

 
The no right click script is farely annoying sometimes although once or twice while making websites I have come upon things in scripts that I didn't want people to see. I forget what reason. It is annoying when people have no right click just so you cannot save the pictures from the site. There is a way around that though.
Matthew1001 is offline   QUOTE Thanks
Old 04-18-02, 04:55 AM   #20
SpeedFreak
Registered

 
SpeedFreak's Avatar 

Join Date: Feb 2002
Location: Michigan

 
Do it in flash, that hides most everything...

Last edited by SpeedFreak; 04-18-02 at 04:16 PM.
SpeedFreak is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 09:33 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?