Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1645 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Source Code Encryption

Thread title: Source Code Encryption
Closed Thread    
    Thread tools Search this thread Display Modes  
05-13-2006, 01:17 AM
#1
Xcentric Media is offline Xcentric Media
Status: I'm new around here
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 8
iTrader: 0 / 0%
 

Xcentric Media is on a distinguished road

  Old  Source Code Encryption

I'm trying to find the best software out there for encrypting/protecting the source code of a site. I've found a few solutions, however I'm open to hearing any suggestions.

Thanks!

05-13-2006, 10:45 PM
#2
Magnus is offline Magnus
Magnus's Avatar
Status: Member
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 222
iTrader: 0 / 0%
 

Magnus is on a distinguished road

  Old

Encryting source code isn't a good idea.

There would be a way to do it in php, by having the code it renders encrypted using MD5 or Sha1, php.net look into it MD5 is most supported, but then again it can be cracked using rainbow tables, and to get the hash they would only have to view your source...

http://php.net/md5

Sha1 on the other hand is almost impossible to decode, I would go with that.

http://php.net/sha1

05-14-2006, 04:11 AM
#3
seen.to is offline seen.to
seen.to's Avatar
Status: unusual suspect ™
Join date: Feb 2005
Location: Lancaster, PA from London UK
Expertise:
Software:
 
Posts: 1,814
iTrader: 0 / 0%
 

seen.to is on a distinguished road

  Old

There are Javascript solutions out there but they are really a waste of time as anyone determined to view your source can just change a couple of lines of the script to write your source to a file.

Then there are problems if you are trying to make your site standards compliant and accessible, (which you should be doing), as encrypting the code will stop it being so.

And then there are problems with SEO - a search engine spider reads the HTML of the page and if that page is encrypted then there's nothing for the spider to read.

05-14-2006, 05:08 AM
#4
itmpls is offline itmpls
itmpls's Avatar
Status: Member
Join date: Feb 2006
Location: Virginia
Expertise:
Software:
 
Posts: 143
iTrader: 0 / 0%
 

itmpls is on a distinguished road

Send a message via AIM to itmpls

  Old

Why would you encrypt your source code?

Other people have let you look at their source code, so that you could learn from it (find out how they did a certain something something in the web page), or look at how it was all coded.. so why would you want to encrypt yours?

05-14-2006, 04:01 PM
#5
Magnus is offline Magnus
Magnus's Avatar
Status: Member
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 222
iTrader: 0 / 0%
 

Magnus is on a distinguished road

  Old

You could easily write in a search engine if else to decrypt the code for Google Bot etc... am I right?

Those Javascript ones are complete worthless, that isn't real encryption, all they have to do is find the place where you did it and use the decode function.. go real encryption alogrithms

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed