Patent ID: 7599907

Claim:
At least one computer storage medium having computer-executable instructions, which are executed by at least one processor to perform: (a) receiving a request to create a file, the request including data corresponding to a filename and a target directory; (b) setting the target directory as a current directory; (c) determining that the current directory is not associated with either a first set of data corresponding to a first set of policy, or a second set of data corresponding to a second set of policy, wherein each set of data corresponds to a set of one or more patterns; (d) in response to determining step (c), determining that the current directory has a parent directory and changing the current directory to the parent directory; (e) determining that the current directory that was changed to the parent directory in step (d) is associated with at least the first set of data corresponding to the first set of policy; (f) determining that the filename is a member of the first set of data by comparing the filename to a pattern corresponding to the first set of data; (g) applying the first set of policy; and (h) exiting, wherein the current directory that was changed to the parent directory in step (d) is also associated with the second set of data corresponding to the second set of policy, the filename is a member of the second set of data, and the step of exiting comprises exiting without applying the second set of policy.