×

System and method for identifying a file path using tree data structure

  • US 9,875,248 B2
  • Filed: 06/19/2015
  • Issued: 01/23/2018
  • Est. Priority Date: 03/31/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for identifying a path in a tree data structure having a plurality of levels, the method comprising:

  • receiving a request from a software application to access a resource in a computer file system using a requested path to the resource;

    identifying, by a hardware processor, a first element in the requested path to the resource;

    comparing, by the hardware processor, the first element with a plurality of nodes in a first level of the tree data structure to identify an exact match, wherein the tree data structure comprises a nested listing of paths in the computer file system, the listing corresponding to paths permissible to access by the software application;

    when the hardware processor does not identify an exact match between the first element and one of the plurality of nodes in the first level of the tree data structure, comparing the first element with at least one mask node in the first level of the tree data structure to identify a match by mask and wherein during comparing, narrower masks are compared with the first element before broader and recursive masks;

    the hardware processor does not identify a match by mask between the first element and one of the at least one mask nodes in the first level of the tree data structure, determining that the requested path is not in the tree data structure;

    granting the software application access to the resource in the computer file system using the requested path only when the requested path is in the tree data structure.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×