如何防止网站下载,所以有人无法下载我的完整网站

How to prevent website download, so someone can't download my full website from IDM or any other software. is there any possibilities to implement some algorithm or add some security tokens. what about iframe? website is on PHP Codeigniter 3.1.4 domain - SSL certificate enabled(https).

The Users will be able to download only the views that you populate via php.

CodeIgniter is a MVC (Model-View-Controller) framework for a reason, it encapsulates the business logic from what can be accessed by users. http://www.codeigniter.com/user_guide/overview/mvc.html

You can use Php encoders to prevent your website code.

you can search for different php encoders.

like this one https://www.ioncube.com/php_encoder.php

They can't download your full website assuming they can't get access to the php files and or database.

They can only access the output the php generates.