Answer the question
In order to leave comments, you need to log in
Help me find a software / hardware solution for differentiating file access rights?
Good time gentlemen! Help me find a solution that allows you to create some directories (personal storage) for storing documents with a specific access system: The principle is simple - each user has a personal directory for incoming documents. To him, any employee (or employees defined in advance) puts a certain document (document, image, music file, etc) in the directory. The owner of the directory sees all the files stored by him (those that he put there, or saved himself), and the rest of the users see only what they themselves sent there. Thus, any employee who visits the personal directory of this person will not see other people's documents transferred to the owner of the directory.
Interested in what is generally available - document management systems, perhaps a cool NAS, solutions on active directory, a private cloud, or just a direction where to dig.
Answer the question
In order to leave comments, you need to log in
You are interested in Access Based Enumeration and "Create Files/Folders" rights for "Authenticated" and "Full Control" for "CREATOR-OWNER".
as an option to lift and configure samba. In my opinion the simplest solution.
samba is fine.
Suppose we have a user mainuser and a group of other users "users".
We do the following:
mkdir /home/share
chmod 770 /home/share
chgrp "users" /home/share
Add our share to /etc/samba/smb.conf:
[share]
path = /home/share
read only = no
create mode = 0600
directory mode = 0700
hide unreadable = yes # users don't see unreadable files admin users =
mainuser
# mainuser for given shares == root
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question