You can create another group and add to this group www-data(if your web server runs under www-data), and then assign this group to all the files that you want to receive.
, , , , ( ), other. , 775 644 .
, , (,/var/www), - .
, "" " " -, , root- , HTTP-.
PHP, -, , - .
/tmp/shared_by_all.txt -> 644
/home/user1 -> 751 or 755
/home/user1/shared_by_all.txt -> 644
/home/secureuser -> 750
/home/secureuser/myfile.txt -> 640 (or even 644 because of the containing directory permissions, other can not even enter the directory tree. so file is not accessible)
<?php
echo file_get_contents('/tmp/shared_by_all.txt');
echo file_get_contents('/home/user1/shared_by_all.txt');
echo file_get_contents('/home/secureuser/myfile.txt');
?>