The present invention is directed to reducing the number of inquiries required to determine access rights accorded to documents, in particular documents stored at a Web site, by changing how data stored in a database is obtained, as opposed to changing how the database itself operates.