NAS access control usually starts tidy and decays. A few shares are created at installation, then a manager needs a folder for a contractor, someone gets full control to fix an urgent problem, and two years later nobody can say who can read the salary folder. Every user with write access everywhere is also a route for ransomware to reach everything.
Good permissions are not about complex tools. They come from a simple structure applied consistently: groups instead of individuals, the least access that lets people work, administrators kept separate, and regular reviews. This post explains how to set that up on shared storage.
The building blocks: users, groups, shares and ACLs
- Users are individual accounts, either local to the NAS or from a central directory. One person, one account; shared logins make audit impossible.
- Groups collect users by role, such as Finance, Design or Site-Engineers.
- Shares are what clients connect to over SMB or NFS.
- Permissions decide who can read, write, modify or delete. On SMB shares these are usually access control lists (ACLs) on folders and files; NFS traditionally uses Unix owner, group and mode bits, with NFSv4 adding ACLs.
On SMB there are often two layers: share-level permissions and file-system ACLs. The effective access is the more restrictive of the two. A common, manageable approach is to keep share permissions broad (authenticated users) and do the real control with file-system ACLs, or the reverse, but not to mix rules in both places.
Design permissions around groups
Grant permissions to groups, never to individual users. When someone joins, moves or leaves, you change their group membership, and every folder follows automatically.
Example structure
| Share or folder | Read only | Read and write | Full control |
|---|---|---|---|
| Company (policies, templates) | All-Staff | HR-Editors | Storage-Admins |
| Finance | Auditors | Finance | Storage-Admins |
| Projects/ProjectA | Management | ProjectA-Team | Storage-Admins |
| Scans (incoming) | Reception | Scanner-Service | Storage-Admins |
| Backups | none | Backup-Service | Backup-Admins |
Notice that the backup share is not visible to ordinary users at all, and that the service account writing to it is separate from any human login. This limits what ransomware running on a desktop can damage; see ransomware protection for NAS.
Role groups and resource groups
In larger organisations, a two-level pattern helps: role groups (Finance-Staff) are members of resource groups (Finance-Share-RW), and only resource groups appear on ACLs. This makes reviews easier: the ACL tells you what the access is, the membership tells you who has it.
Least privilege in practice
- Default to read-only; grant write only where people create or edit.
- Grant modify rather than full control. Full control lets users change permissions and take ownership.
- Avoid the Everyone group on anything but genuinely public folders.
- Use separate shares for different sensitivity levels instead of deep exceptions inside one share. Breaking inheritance deep in a tree is the main source of confusion.
- Give contractors and temporary staff accounts with expiry dates.
Local accounts or a central directory
With a handful of users, local NAS accounts are workable. As numbers grow, maintaining passwords in two places becomes a risk: people who leave keep NAS access because nobody remembered to disable it. A central directory, such as Active Directory or LDAP, gives single sign-on and one place to disable accounts. Directory integration depends on the operating system and configuration, so ask Panaro's engineers whether your configuration includes it.
Separate administration from daily use
- Administrators use a normal account for email and documents, and a separate admin account only for storage management.
- Put the management interface on its own network or VLAN; Panaro JP, CL and LP series provide IPMI remote management that should also sit on that isolated network.
- Limit snapshot deletion and pool changes to a small admin group.
- Log administrative actions and review them.
Audit and review
Permissions drift unless someone checks them. A workable routine:
- Monthly: compare the list of active accounts with HR's joiners and leavers.
- Quarterly: send each data owner the membership of groups with access to their folders and ask them to confirm.
- Yearly: export ACLs on top-level folders and look for individual users, Everyone grants and broken inheritance.
Enable file-access auditing on sensitive shares if your system supports it, and keep those logs with your other security logs; see CERT-In log retention. For personal data, documented access control also supports the reasonable security safeguards expected under the DPDP Act; see the DPDP storage checklist.
Cleaning up an existing file server
Many readers are not starting fresh; they are inheriting years of ad hoc permissions. A staged clean-up avoids breaking work:
- Inventory. Export the ACLs of every top-level and second-level folder, and list every account and group. Note individual user entries, Everyone grants and folders where inheritance is broken.
- Find owners. Assign a business owner for each top-level folder, someone who can say who should have access.
- Design the target. Draw the share and group structure you want, using the pattern above.
- Create groups first. Add the right people to new groups before changing any ACLs.
- Migrate in small batches. Change one department at a time, ideally on a Friday afternoon with the owner available, and replace individual entries with groups.
- Remove leftovers. After a few weeks with no complaints, remove the old individual entries and unused accounts.
Take a snapshot before each batch so that permissions, as well as data, can be rolled back if a change goes wrong.
Expect a few support calls during the clean-up from people who lose access they genuinely need. Handle them by adding the person to the right group, never by granting access to the individual, or the old pattern returns within months.
Service accounts
Scanners, backup software, applications and cameras often write to shares. Give each its own account with access only to the folder it needs, a long random password, and no interactive login. Document who owns each service account. These accounts are frequently forgotten, keep broad rights for years and are attractive to attackers because their passwords rarely change.
NFS clients
For NFS exports, restrict each export to the specific client addresses that need it, avoid exporting with root access for remote clients unless required, and prefer read-only exports where possible.
Checklist for shared storage permissions
- Every person has an individual account; no shared logins.
- ACLs list groups only, never individuals.
- Sensitive data sits in its own share, not a hidden exception.
- Backup targets are not writable by ordinary users.
- Admin accounts are separate and the management network is isolated.
- Leavers are disabled the same day.
- Data owners confirm access at least quarterly.
- Changes to permissions are documented.
If you are planning a new file server or reorganising an old one, Panaro's engineers can help map your departments to shares and groups on an Awanstor NAS. Contact us to discuss your layout.
Frequently asked questions
Should NAS permissions be given to users or groups?
To groups. Assigning permissions to groups means a change in someone's role or a departure is handled by changing group membership, and every folder updates automatically. Permissions given to individuals accumulate over time and become impossible to review. Groups named by role also make audits readable for data owners.
What is the difference between share and NTFS-style permissions?
On SMB shares, share-level permissions control access to the share as a whole, while file-system ACLs control each folder and file. The effective access is the more restrictive of the two. Keep one layer simple and do detailed control in the other to avoid confusion.
Do I need Active Directory for a NAS?
Not for a small team, where local accounts can work. As users grow, a central directory lets you manage passwords and disable leavers in one place, which reduces the risk of forgotten accounts. Check with your vendor whether directory integration is included in your configuration.
How often should file share access be reviewed?
Check accounts against joiners and leavers monthly, ask data owners to confirm group membership quarterly, and audit top-level ACLs yearly for individual grants, Everyone access and broken inheritance. Record each review so you can show it was done. Fix any problems found before closing the review.