How can I have a directory as read-only and its subdirectories as read-write?

You need to set the following rules (in C++ syntax below):

CallbackFilter::AddFilterAccessRule("C:\\ReadOnly\\*.*",CallbackFilter::ReadOnly);
CallbackFilter::AddFilterAccessRule("C:\\ReadOnly\\AllAccess\\*.*",(CallbackFilter::CbFltAccessFlags)0);

Ready to get started?

Learn more about Callback Technologies or download a free trial.

Download Now