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.

PHP Forum


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



Freelance Jobs

Reply
is there a way to hide some code from the public
Old 09-24-2007, 10:43 AM is there a way to hide some code from the public
Experienced Talker

Posts: 38
Name: Andrew
Trades: 0
is there a way if hiding the code from the public right clicking is noting people can view source is there any way bu using HTaccess
__________________
Your link here $1 a month or $5 for 6 months
addar800 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-24-2007, 11:01 AM Re: is there a way to hide some code from the public
stOx's Avatar
Machine

Latest Blog Post:
Worlds Smallest Car - Peel P50
Posts: 2,111
Name: Matt. (>',')>
Location: London, England.
Trades: 0
How are they supposed to view the page if they don't receive the markup?
The way i see it, If you want to keep something secret, Don't put it on the internet.
__________________

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
stOx is offline
Reply With Quote
View Public Profile Visit stOx's homepage!
 
Old 09-24-2007, 11:05 AM Re: is there a way to hide some code from the public
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
No, if a browser can access it, any user can too.
There is no way of hiding that in pure HTML/javascript.

if it's an application, you can embed it into a flash, but even there, it can be disassembled.

I short, if your customer can see it, anybody can copy it.
You can only try to make it a bit harder to copy, nothing more.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 09-24-2007, 11:12 AM Re: is there a way to hide some code from the public
Experienced Talker

Posts: 38
Name: Andrew
Trades: 0
ok thank you
__________________
Your link here $1 a month or $5 for 6 months
addar800 is offline
Reply With Quote
View Public Profile
 
Old 09-24-2007, 12:02 PM Re: is there a way to hide some code from the public
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
With PHP the code is executed Server Side, thus hiding the code used to produce it. If you want to hide that use the eval() and base64 functions to encrypt the code.

With HTML you can use javascript to hide the Tags/text etc, I like to use the iWebTool HTML Encrypt, it can be nulled, and if the end user lacks javascript can not load the page.

If you really want to make sure no-one get hold you your code:
1. Don't share it at all.
2. Copyright it.
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Reply     « Reply to is there a way to hide some code from the public
 

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.47371 seconds with 12 queries