I need to limit certain operations with folder in Windows Explorer. For example disallow copy, move, rename, delete operations or make it read-only (disallow creation of new files and folders in it).
I see that there are SFGAO flags that looks what I need: SFGAO_CANCOPY, SFGAO_CANMOVE, SFGAO_CANRENAME, SFGAO_CANDELETE, SFGAO_READONLY. However they require shell namespace extension to be created. Can I somehow set these attributes on real folders in file system without creating a full blown namespace extension? For example by creating some registry settings for the specific folder?