943,829 Members | Top Members by Rank

Ad:
You are currently viewing page 3 of this multi-page discussion thread; Jump to the first page
Nov 30th, 2007
0

Re: hide html code on my website

you can just turn javascript off and steal the code
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,510 posts
since Apr 2005
Nov 30th, 2007
0

Re: hide html code on my website

Robert,
Thanks for your input, I mean, I do understand where some people are coming from with wanting to keep their creations in their own hands, so that it can't be stolen by others. I do view web design/programming as an art form. I wouldn't like people steeling my music, or my websites.

That said, there is just so much one can do to try to hide their stuff, but the very nature of HTML is that it is not a compiled language, there is just no way to hide uncompiled languages.

To answer your question re: applets, actually, applets are more resource intensive, but scripts are also (by nature) noncompiled. Applets are compiled, theirfore, you can create content who's source can not be viewed. Flash is the same way.

The problem is, we don't really know what the questioner is trying to hide, if it's just his code in general, it's not gonna happen. You can try javascript, but I can turn it off on my end (since javascript is a client side language). You may be able to get away with it in something like ASP, which is server side, and possibly even JSP.

But here is the ULTIMATE reason as to why there is nothing you can do to hide your code.

Open up notepad, and go to "file, open".

In "file name", type http://www.google.com
Or use whichever site you want. You will notice that the code for that page will infact show up in your notepad. No need for a browser even. You can also go directly to certain pages on the site using the same technique.

I really didn't mean to sound like I was putting anyone down, in my first post here, and I'm sorry if it sounded that way.

Sage
Reputation Points: 10
Solved Threads: 6
Junior Poster in Training
sagedavis is offline Offline
86 posts
since Nov 2007
Nov 30th, 2007
0

Re: hide html code on my website

No Problem Sage, I understand completely. As with anything, all anyone can really do is minimize the chance of their information from being stolen. If someone wants something bad enough they are going to take it.

That does make sense about the applets, now that I think about it, I did know they are compiled. That should have been a clue for me there. Thanks for the info.
Reputation Points: 10
Solved Threads: 3
Light Poster
CertGuard is offline Offline
48 posts
since Jul 2007
Dec 1st, 2007
0

Re: hide html code on my website

i had the same problem.
thanks
cashu
Last edited by Ezzaral; Dec 8th, 2010 at 4:40 pm. Reason: removed url
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cashu is offline Offline
4 posts
since Nov 2007
Dec 8th, 2010
-2
Re: hide html code on my website
<b> Well honestly, its gonna take work to hide your codes, you first need to understand CSS, and JS, when them two are together with in an html document, all you have to do is like the CSS, you make a JS file, within your page, refer back to it and boom, there is your "invisible data"
Reputation Points: 9
Solved Threads: 0
Newbie Poster
BladeCT05 is offline Offline
1 posts
since Dec 2010
Dec 9th, 2010
0
Re: hide html code on my website
One thing you *can* do, however, is to put some of the rendering code into a program that gets run before the web page is served. The code to draw the page still has to be available in the clear, but some of your content can be pulled up before becoming visible to the user.

For example, database code can be done via PHP or any of several other languages. All of the HTML is still visible to everybody, but the rest wouldn't be.
Reputation Points: 46
Solved Threads: 2
Newbie Poster
Dervish1 is offline Offline
23 posts
since Apr 2009
Dec 9th, 2010
1
Re: hide html code on my website
Why don't we all start bringing up three year old threads that have already been answered, and post inadequate replies that don't work.
Reputation Points: 113
Solved Threads: 59
Posting Pro in Training
Arkinder is offline Offline
441 posts
since Nov 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: CSS doubt
Next Thread in HTML and CSS Forum Timeline: Image layer behind content page





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC