How to disable or encrypt Source View for my site

Is there a way to disable or encrypt Source View for my site so that I can protect my code?

+3
source share
11 answers

Fero,

Your question does not make much sense. Source View shows the HTML source - if you encrypt it, the user (and browser) will no longer be able to read your content.

If you want to protect your PHP source, then there are tools like Zend Guard . It will encrypt your source code and make it difficult to reconstruct.

JavaScript, , , YUI Compressor. , , , - , , , .

, SSL, , .

, JavaScript , JavaScript, . :

  • ...
  • JavaScript
  • , .

.

+41

, .

- , .

HTML-, . , Firebug, , .

PHP, (SaaS).

+8

, HTML-. javascript-, , , , , : javascript HTML.

EDIT: . HTML , : http://www.voormedia.com/en/tools/html-obfuscate-scrambler.php

EDIT2: ... . :)

http://www.gooby.ca/decrypt/

+2

- , html - , , , . javascript , , , , , . javascrpit html , , . , , Firebug, HTML-.

html , ip , .

+2

. . , . Firefox DOM . , .

, , , : P

+2

. () , - html Javascript, - .

, , , - :

<html> 
  <body> 
    <div id="my secret page layout trick"> ... 
    </div>
  </body>
</html>

. , . " ", , , , - , - . , . ()

Javascript. : , , . Javascript- - .

(, , Flash Silverlight, , . , , , .)

, - - : , . , , PHP ( Python/Ruby/Perl/Java/C...), . , , Google . , , , . , , , . - Terrabyte , , , - .

: , , , , . ? , ? , , . .

, : - , .

+2

, . , , HTML?

+1

. HTML/javascript ( ). , - HTML , HTTP .

- HTML/javascript, . Firebug IE 8 DOM, ,

+1

. , , , . , html (, , ). , Google , .

0

.

, , :

" window.history.pushState() " oncontextmenu="return false" body attribute

- http://freelancer.usercv.com/blog/28/hide-website-source-code-in-view-source-using-stupid-one-line-chinese-hack-code

" javascript obfuscation ", , .

" " , .

0

, javascript, //, .

-1

Source: https://habr.com/ru/post/1723748/


All Articles