Is kind of permission possible?
by n00b_noob from LinuxQuestions.org on (#57SRP)
Hello,
Consider a sensitive file under "/var/www/html" directory that your web application must read and write data from and into it. When the permission of ""/var/www/html" directory is "apache:apache" then web visitors can find and read this file too. How can I define a permission that my web application like WordPress can read and write from and into this file but others can't see and...?
Thank you.


Consider a sensitive file under "/var/www/html" directory that your web application must read and write data from and into it. When the permission of ""/var/www/html" directory is "apache:apache" then web visitors can find and read this file too. How can I define a permission that my web application like WordPress can read and write from and into this file but others can't see and...?
Thank you.