How to hide the HTML Code?

  • Mark
  • Born
  • Born
  • Mark
  • Posts: 1

Post 3+ Months Ago

How do i hide my source code?
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

3 things...

1. welcome to ozzu. :D

2. you can't hide your source code, the internet is an open source arena
and it's not possible at this time to do so.

3. if you had tried a search on this, you'd have found this :wink: :
http://www.ozzu.com/viewtopic.php?t=117

As you can see it's been discussed at length already. There are
altneratives at attempting what you want, but none are very successful.
Check the thread, you will see what I mean.
  • ED
  • Student
  • Student
  • ED
  • Posts: 66
  • Loc: Halifax

Post 3+ Months Ago

basically...
1. A browser reads HTML code.
2. I can read HTML code.

You can make it harder to find or even encrypt it to make it harder to read, but in the end you can't hide it completely.
  • theorynine
  • Newbie
  • Newbie
  • User avatar
  • Posts: 8
  • Loc: Oregon, Holla

Post 3+ Months Ago

what would be the reason to hide the code?
if someone these days, really wants to steal something off your site...
they are gonna do it. and cheap tactics, like disabling right click, will just
encourage someone to try and do it anyway. and, by disabling right click,
chances are your going to take some features away from other users that, one uses every day, like myself, i like to right click to go back, and forward. so if that's disabled, chances are, i'm going to just alt-w. :D

only cases of that that really, really get on my nerves, are the people that offer wallpapers on their sites, but don't allow right clicking to set wallpapers to desktop. lol.

just my two coppers.
  • dreamer7
  • Student
  • Student
  • dreamer7
  • Posts: 95
  • Loc: UK

Post 3+ Months Ago

Well there is ways surely things like doing a window.open so that it takes off the file,edit, view menu and disabling right clicking that way they can't view the source but there is always ways of getting something and i have heard of cgi scripts that strip pages of their html so its a pointless exercise lol
D7
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

dreamer7 wrote:
Well there is ways surely things like doing a window.open so that it takes off the file,edit, view menu and disabling right clicking that way they can't view the source but there is always ways of getting something and i have heard of cgi scripts that strip pages of their html so its a pointless exercise lol
D7

it really is pointless. what do you have on your page that you want to
hide so bad?

the normal practice is that if you don't want others to get at it, don't
upload it to the internet. ;)
  • Borrow -A- Geek
  • Professor
  • Professor
  • User avatar
  • Posts: 763
  • Loc: Dallas/Ft Worth, Texas

Post 3+ Months Ago

you could always embed your content in a flash file...
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9092
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

You could also protect all your content behind a password protected directory so that nobody but yourself would see it :)
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

flash files can be decomplied easily now.
sux, but it's true. :roll:

i think password protection really is the only sensible way. Or make the
link to the content only available after giving certain information. So, the
download link was at a very specific, non-public url.

I did site like that. Unless you were truly interested in the product, there
was no way for you to get to the trial software without signing up.
  • Steen
  • Proficient
  • Proficient
  • User avatar
  • Posts: 343

Post 3+ Months Ago

It's like Ed says, it can be read.

you can make it harder for the avarage user or newbie webmaster to get to your source but in the long run,
there is software to be had on the net that can pretty much download everything from a server
without as much as doing a GET request via HTTP.

I've got some software here, where I could easy
step onto your server, download everything you have on it
and dicect it later for my use.

the easiest way to keep newbie webmasters from figuring out
how you did something is by hidding in a zero sized frame,
put the no rightclick codeon each page along side one of those
codes to check if it's toploaded outside of it's frameset,
then yank then to the front main framset page again.

it's a cat and mouse game,
in the end people *can* get to it if they absolutely want to!

also do double check any rightclick script you plan on using,
I've seen one where you could not rightclick in any browser,
but all you had to do was right click on an image and you could
view source.

talk about defective coding ...

if you're going to try and hide your source,
you can do it to a degree but don't spend too much time on it,
where there is a will there is a way.
people will and can get to your source if they want.
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9092
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Exactly. If your browser can read it, so can anybody else (just like ed said)
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

steen is the master at making code difficult to find and get. REALLY! he is! He taught me quite a few things about it, some of which I use.

It's cool stuff, but as everyone has stated over and over, it's impossible
to totally hide it.
  • dreamer7
  • Student
  • Student
  • dreamer7
  • Posts: 95
  • Loc: UK

Post 3+ Months Ago

lol there is always the easy way of using php to display content on pages then they will never know what the source is then lol
d7
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9092
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

They may not know the PHP source, but they will know the output of the HTML source.
  • Steen
  • Proficient
  • Proficient
  • User avatar
  • Posts: 343

Post 3+ Months Ago

UNFLUX wrote:
steen is the master at making code difficult to find and get. REALLY! he is! He taught me quite a few things about it, some of which I use.

It's cool stuff, but as everyone has stated over and over, it's impossible
to totally hide it.


what you really mean is this:

I tried to copy Steen's *plum* and couldn't cuz he made it near impossible
to get at and therefor I had to end up asking how he did something.

ROFL ... sucker!
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

yeah, pretty much. so?
  • guitrspaz
  • Graduate
  • Graduate
  • guitrspaz
  • Posts: 106
  • Loc: Baltimore, MD

Post 3+ Months Ago

I personally enjoy when people draw pics in their code...thats alot better than disabling right click...make like 8 pages of text drawings and put the html at the bottom :)[/code]
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9092
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Interesting, I have never seen people do that before. Sounds like they have a good deal of free time, and a bit of bandwidth to waste for all their visitors.
  • guitrspaz
  • Graduate
  • Graduate
  • guitrspaz
  • Posts: 106
  • Loc: Baltimore, MD

Post 3+ Months Ago

i've only seen a couple, but its pretty damn funny..wish i could remember the links. i'l get em tomorrow maybe and post :)
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

yeah do that! i'd like to see as well.
  • guitrspaz
  • Graduate
  • Graduate
  • guitrspaz
  • Posts: 106
  • Loc: Baltimore, MD

Post 3+ Months Ago

Dammit, I checked with my friend Tim who told me about that sort of stuff, and showed me some, but the site he gave me link to (http://www.ecko.com) no longer has the illustration in there.
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

darn it! :(
  • suzie
  • Guru
  • Guru
  • User avatar
  • Posts: 1134
  • Loc: England

Post 3+ Months Ago

Ok, sorry my post was in the wrong place, i asked the same thing,

I get the picture now,

:D

There was at the time i thought, i need to do this for this reason:

I had a board with forumhoster, for some reason i decided to view the source i was gobsmacked that my members name was showing up in the code, i felt this could have been a serious security risk for the members...alright so i had only 1 member then lmaoooo

The content i'm sure would'nt have been wanted as such, unless they wanted to close me down for some reason, like a hacker say, its only Swish tutorials, no movies as yet, maybe this was how forumhoaster had the board setup i don't know, it was a free board so i guess they had the upper hand.

Now i am with a real nice guy who gave me space on his server for the board, set it all up for me and i'm very happy now, he now does anything that needs doing at the board in the admin, he's very trustworthy too.

I got no support at all about this problem from forumhoster!! so thats why i asked the question here, just something i wanted to know, i have seen "view source" with nothing in at all, don't know how they do that, so i thought there may be a script or something they use.

When i went to bigwebmaster via scripts link, there was a script in there, was'nt sure if thats the same thing or not !

:)
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

same category - same discussion - same result

//locked

Post Information

  • Total Posts in this topic: 24 posts
  • Users browsing this forum: No registered users and 52 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.