kmk4 Posted December 7, 2006 Share Posted December 7, 2006 can i prevent users from downloading php files from my siteif someone open dawnload accelerator and type www.mysite.com/index.phpit will download the page index.php without compiling and he can read the codeis there is away to prevent that ? Link to comment https://forums.phpfreaks.com/topic/29760-can-i-prevent-users-from-downloading-php-files-from-my-site/ Share on other sites More sharing options...
drifter Posted December 7, 2006 Share Posted December 7, 2006 different setting in your php.ini between different servers - using the $_GET is preferredhttp://us3.php.net/manual/en/reserved.variables.php#reserved.variables.get Link to comment https://forums.phpfreaks.com/topic/29760-can-i-prevent-users-from-downloading-php-files-from-my-site/#findComment-136642 Share on other sites More sharing options...
fert Posted December 7, 2006 Share Posted December 7, 2006 i don't think that is possible because the only way to get the source code is to use FTP, because with any other way your requesting the file which will get it parsed Link to comment https://forums.phpfreaks.com/topic/29760-can-i-prevent-users-from-downloading-php-files-from-my-site/#findComment-136649 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.