Article 57SRP Is kind of permission possible?

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.latest?d=yIl2AUoC8zA latest?i=XIVjZegrAZE:YeYR_w3DTcQ:F7zBnMy latest?i=XIVjZegrAZE:YeYR_w3DTcQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=XIVjZegrAZE:YeYR_w3DTcQ:gIN9vFwXIVjZegrAZE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments