?
Solved

protect web page source

Posted on 2011-02-26
11
Medium Priority
?
306 Views
Last Modified: 2012-05-11
Hi

What is the best way to protect html & javascript page source? .


Thanks
0
Comment
Question by:3xtr3m3d
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 6

Expert Comment

by:Darren Sharples
ID: 34988752
do you mean hide it? if so, you can hide it from showing on the right click on a website but cant get rid of it showing from view - source
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34988775
Since the browser has to be able to download and read it, there is virtually no way to 'protect' the source from copying.
0
 
LVL 3

Author Comment

by:3xtr3m3d
ID: 34988791
any idea how they doing this?

check the source of this page

http://www.templateaccess.com/demos/adminskins/vectoradmin/

Open in new window

0
WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 34988804
Yes, the page is written by the javascript.  If you have the Firefox Web Developer plugin, you can 'View Generated Source' and see everything that they have done.  It is obscured by the javascript but it is not hidden, it just takes a little more to see it.
0
 
LVL 4

Expert Comment

by:LAMASE
ID: 34988949
The js code is obfuscated, too,
You will find lot of javascript obfucator/compressors in google ;)
0
 
LVL 3

Author Comment

by:3xtr3m3d
ID: 34989237
found a solution though gona try

http://www.ioncube.com/html_encoder.php

Open in new window

0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34989385
It's very similar to the first example you gave, it uses javascript to create the page and it will hide it from 'normal' users.  I can still view the generated code with the Firefox Web Developer plugin so it is not 'copy-proof'.
0
 
LVL 3

Author Comment

by:3xtr3m3d
ID: 34989999
okay got it.  Thanks for the useful information. can you let me know which plugin you used to view source?

Thanks again.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34990012
Firefox Web Developer  http://chrispederick.com/work/web-developer/  After you install it, click on View Source and there is an option for 'view Generated Source'.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34990020
By the way, 'Developer Tools' in Chrome automatically shows the generated source as does 'Web Inspector' in Safari.
0
 
LVL 3

Author Comment

by:3xtr3m3d
ID: 34990892
thanks
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question