Jump to content
Sign in to follow this  
tork

Source to understand permissions from PHP dev view

Recommended Posts

I've been searching for sources to help me understand Linux Apache permissions from the PHP programmer's perspective getting only the rwx and 755 type descriptions and processes in abundance.

 

What I need is a *source* that I can learn Linux permissions from the perspective of the *PHP programmer*, not for the Linux admin who has the box locally or remotely. I'd like to know, for example, when to give each of the three users which permissions for my PHP app's directories, data files and PHP scripts on the basis of heightening security.

 

Share this post


Link to post
Share on other sites

You want the PHP perspective? Ask the server admin what to do. For all your questions about permissions.

 

Because what you do necessarily depends on how the server is set up, and if you're sticking your fingers in your ears and trying not to understand any of that then you are not qualified to make decisions about permissions.

Share this post


Link to post
Share on other sites

Thank you Jacques1

 

Along with the research that I've already done, that's exactly what I needed to know!

 

I respect the research you have done over your career and appreciate your willingness to share it. 

Share this post


Link to post
Share on other sites

Please don't resurrect old threads. Ask questions in your own thread and link to the old thread if necessary.

 

I've read that under some circumstances that the administrative user may also be a group, so in ajoo's example, master : master

 

No. Users belong to groups. So besides a user called “master”, you could also have a group with the same name.

 

In the given case, it wouldn't make any sense, and I haven't found any reference to this setup in the thread.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.