Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

protect web page source

Hi

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


Thanks
0
3xtr3m3d
Asked:
3xtr3m3d
1 Solution
 
Darren SharplesSystems SpecialistCommented:
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
 
Dave BaldwinFixer of ProblemsCommented:
Since the browser has to be able to download and read it, there is virtually no way to 'protect' the source from copying.
0
 
3xtr3m3dAuthor Commented:
any idea how they doing this?

check the source of this page

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

Open in new window

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Dave BaldwinFixer of ProblemsCommented:
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
 
LAMASECommented:
The js code is obfuscated, too,
You will find lot of javascript obfucator/compressors in google ;)
0
 
3xtr3m3dAuthor Commented:
found a solution though gona try

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

Open in new window

0
 
Dave BaldwinFixer of ProblemsCommented:
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
 
3xtr3m3dAuthor Commented:
okay got it.  Thanks for the useful information. can you let me know which plugin you used to view source?

Thanks again.
0
 
Dave BaldwinFixer of ProblemsCommented:
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
 
Dave BaldwinFixer of ProblemsCommented:
By the way, 'Developer Tools' in Chrome automatically shows the generated source as does 'Web Inspector' in Safari.
0
 
3xtr3m3dAuthor Commented:
thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now