logo

Black Friday
Sale

  •  99.9% Uptime
  •  Free SSL Certificate
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

00
DAYS
05
HOURS
11
MINUTES
47
SECONDS
Black Friday Sale: Web Hosting
From £0.80 /Month!
See All Deals
×

Knowledge base

Find articles and information about all features, troubleshooting guides,
and other technical information on Hostinger's hosting services.

How can I protect source code of my website?

Modified on:
source code hide hide source code protect code

Source code can not be protected and anyone can view site source code by visiting your website and clicking 'View Source Code' button or by pressing CTRL+U in their browser. However, keep in mind that it's possible to protect functions/programming code inside PHP files by encrypting them (you can use Zend and Ioncube encryptors for this) but the code itself displayed on the website will be visible anyway.