Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 07-04-2004, 04:00 AM Hiding your code
larryweiss's Avatar
Super Talker

Posts: 117
Location: NEW YORK
Trades: 0
It would help me if my competitors couldnt see my code. I know how to right click disable, but imagine there are plenty of ways around that, although not sure.

Some SEO company showed me a site they had made, and there was almost no html. They implied that the page was generated by scripts called from the page in question and that the scripts were secure somewhere on the bowles of protected directories. I guess thats true, but if I cannot see it, can a search engine.

I guess my question is; Is there a secure way to hide your code from hackers, but not from search engines? I would love to hear it.
__________________
Larry Weiss


Please login or register to view this content. Registration is FREE
| |
Please login or register to view this content. Registration is FREE
| |
Please login or register to view this content. Registration is FREE
larryweiss is offline
Reply With Quote
View Public Profile Visit larryweiss's homepage!
 
 
Register now for full access!
Old 07-04-2004, 04:13 AM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
Nope

The client (ie. end-user browser) has to know how to render the page. So if it's encrypted, generated (as you said) or just badly written -- it can be "decoded".

So no matter what you do (other then taking it off the web, hehe) then everyone will be able to see your code. But it's just HTML/CSS, not like there's anything to hide
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 07-04-2004, 06:44 AM
OmuCuSucu's Avatar
Vi Veri Veniversum Vivus

Posts: 1,168
Name: Dragos-Valentin
Location: Cluj-Napoca, RO
Trades: 0
what exactly is it you want hidden?
the text? the graphics? is there a web aplication that is running?

text and graphics CANNOT be hidden. whatever you do, there will alaways be a way around it ....

code (html, css, xml) cannot be hidden eighter ...

could you perhaps tell us more about what it is you actually want hidden in case these two replies didn't answer your question?
__________________
.
» Please remember to add to my Talkupation if you enjoyed my post. Thank you :)
.
OmuCuSucu is offline
Reply With Quote
View Public Profile
 
Old 07-04-2004, 07:57 AM
Unknown.

Posts: 1,693
Trades: 0
Theres no way of hiding your code..

even dissabling rightclick... You can still view the souce by typing 'view-source:http://site.com' or source from under the view menu

If it was PHP code you wouldn't need to worry as the user will not be able to see the code anyway they will just see the end product that is produced by the PHP

-James
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Old 07-04-2004, 08:50 AM
OmuCuSucu's Avatar
Vi Veri Veniversum Vivus

Posts: 1,168
Name: Dragos-Valentin
Location: Cluj-Napoca, RO
Trades: 0
continuing Dark-skys ideea on PHP: same goes for asp (active server pages) and jsp (java server pages).

EDIT: and thanks for the tip Dark-skyes ... didn't know that one
__________________
.
» Please remember to add to my Talkupation if you enjoyed my post. Thank you :)
.

Last edited by OmuCuSucu; 07-04-2004 at 01:24 PM..
OmuCuSucu is offline
Reply With Quote
View Public Profile
 
Old 07-04-2004, 12:32 PM
Kyrnt's Avatar
The Post-Mod Years

Posts: 2,536
Location: Western Maryland
Trades: 0
Quote:
Originally Posted by Dark-Skys99
You can still view the souce by typing 'view-source:http://site.com'

Nice tip, James. I know it's the opposite of what the original poster wanted to hear, but this is something I didn't know!
__________________
—Kyrnt
Kyrnt is offline
Reply With Quote
View Public Profile Visit Kyrnt's homepage!
 
Old 07-05-2004, 01:39 AM
larryweiss's Avatar
Super Talker

Posts: 117
Location: NEW YORK
Trades: 0
Yes it is what the original poster wanted to hear. I am very comfortable with html, but hardly at all with java. What would it take to learn PHP, and how would I start?
__________________
Larry Weiss


Please login or register to view this content. Registration is FREE
| |
Please login or register to view this content. Registration is FREE
| |
Please login or register to view this content. Registration is FREE
larryweiss is offline
Reply With Quote
View Public Profile Visit larryweiss's homepage!
 
Old 07-05-2004, 07:41 AM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
There are lot's of other threads that talk about where to learn PHP, here's a good one.
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 07-05-2004, 10:39 AM
celticbrue's Avatar
Extreme Talker

Posts: 175
Location: Wiltshire, England
Trades: 0
Larry,

I think you should be aware that PHP will not actually hide the HTML source code of your pages. PHP (Hypertext Pre Processor to give it it's full name) is a scripting language that manipulates data and then formats it into HTML code so that this data can be written to a web page in an appropriate and logical format. The HTML code generated by the PHP will still be visible using the various view source methods available.

As previous posts have said, there is no sure way of hiding HTML code because it has to be sent from the server to the web browser of the user. If it didn't do this, then the user would only ever get a blank page.

Quote:
Some SEO company showed me a site they had made, and there was almost no html
I would love to see this site, to see if what they claim is actually true and to try and work out how they did it!

Ian.
celticbrue is offline
Reply With Quote
View Public Profile
 
Old 07-05-2004, 02:12 PM
larryweiss's Avatar
Super Talker

Posts: 117
Location: NEW YORK
Trades: 0
This is a great place, and you all are an awesome group of people.

Thanks for the advice.
__________________
Larry Weiss


Please login or register to view this content. Registration is FREE
| |
Please login or register to view this content. Registration is FREE
| |
Please login or register to view this content. Registration is FREE
larryweiss is offline
Reply With Quote
View Public Profile Visit larryweiss's homepage!
 
Reply     « Reply to Hiding your code
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.48610 seconds with 12 queries