Skip to content

Access & Uploads

ACS codes control access to file base areas via an acs block in the area’s definition. If an area supplies no acs, these defaults apply:

CheckDefaultGrants
readGM[users]List and view the area and its contents
downloadGM[users]Download from the area
writeGM[sysops]Upload to the area

Supply any of them to override that one; the rest keep their defaults.

Any ACS check is allowed, so access can key off group membership, upload counts, security level and so on:

areas: {
retro_pc: {
name: Retro PC
desc: Oldschool PC/DOS
storageTags: [ "retro_pc", "retro_pc_bbs" ]
acs: {
// only users in the "l33t" group, or those who have
// uploaded 10+ files, can download from here
download: GM[l33t]|UP10
}
}
}

By default only +ops can upload, since write defaults to GM[sysops]. To open an area up to regular users, grant write to the users group:

uploads: {
name: Uploads
desc: User Uploads
storageTags: [
"uploads"
]
acs: {
write: GM[users]
}
}