Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Example - Partial directory access to all applications

In this example, the application allows all other applications and services read access to the directory (which allows them to enumerate the directory) and allows all applications and services read, write, create, and delete permission to all files and directories in the subtree.

include "testacl.bid"

Applet { 
    appletid       =AEECLSID_testacl,
    resbaseid      =20,
    applethostid   =  0,
    type           =  0,
}

ModRsc {
    name  ="IDS_STRING_20", 
    id    = 20,
    type  = 1,
    data  =EncStringRscData(0xFF, "testacl"),
}

FS_ACL_Grant{
   {
      groups = {0}, 
      perms = "r/rw"
   },
path = "/"
}