How to setup a user account for a web application

Posted by ximus on Server Fault See other posts from Server Fault or by ximus
Published on 2010-06-01T13:55:51Z Indexed on 2010/06/01 14:04 UTC
Read the original article Hit count: 316

Hi, What are the main guidelines to setting up a user account on a Linux machine for a web app?

In my case it is a Rails application that does file management.

First thing I can think of is to limit access rights to only the directories it needs. But how exactly should I go about this? Setup rights through a user group or a through the user's ownership of those directories. I have very little experience in user rights management.

What else do I need to consider? I've heard of ACL's and SELinux, do I need to look into any of these to guaranty decent security for my simple web app?

Any advice about this and anything not mentioned welcomed, Thanks, Max.

I will be using Ubuntu.

© Server Fault or respective owner

Related posts about linux

Related posts about security