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

Developer

resources

Example - Full directory access to all applications

The following CIF example allows all applications and services full access to the module's home directory. The ACL has one groups field, which specifies 0 (group 0 is reserved and specifies all groups). The perms value of "rw/rw" grants delete permission for the specified path.

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 = "rw/rw"
   },
path = "/"
}