# Patent

## Title
Variable user interface based on document access privileges

## Abstract

Users may be presented with different viewing interfaces for a document based on a combination of factors relating to display rights possessed for the document and user specific information. In one implementation, the user's location is used to determine portions of the document that can be displayed to the user. More particularly, access privileges to a document for a user are determined based on geographical location information of the user and based on access rights possessed for the document. Portions of the document may then be formatted for display to the user based on the determined access privileges.

## Background
RELATED APPLICATION
This application is a continuation of U.S. application Ser. No. 10/953,496, filed Sep. 30, 2004, the entire contents of which is incorporated herein by reference.


BACKGROUND
A. Field of the Invention
Systems and methods described herein relate to data formatting and presentation and, more particularly, to techniques for presenting textual and graphical material.
B. Description of Related Art
Modern computer networks, and in particular, the Internet, have made large bodies of information widely and easily available. Free Internet search engines, for instance, index many millions of web documents that are linked to the Internet. A user connected to the Internet can enter a simple search query to quickly locate web documents relevant to the search query.
One category of content that is not widely available on the Internet, however, are the more traditional printed works of authorship, such as books and magazines. Before presenting this type of digital content to users, the content may first be scanned using an optical scanner. Once scanned, optical character recognition (OCR) may be used to convert text in the scanned digital images of the pages of the content to a searchable digital form.
When transmitting the scanned/OCR'ed version of the content (e.g., books or magazines) to users, the content provider may only be able to lawfully provide certain portions of the content to the users. For example, the content provider may provide certain books that are in the public domain and other documents for which the content provider does not have full legal rights. Accordingly, the portions of the book that the content provider chooses to provide to the users may vary.
SUMMARY OF THE INVENTION
According to one aspect, a method includes determining access privileges to a document for a user based on geographical location information of the user and based on access rights possessed for the document. The method further includes formatting portions of the document for display to the user based on the determined access privileges and transmitting the formatted portions of the document to the user.
According to another aspect, a method includes receiving a request for a document from a user, receiving information relating to the user, and determining viewable portions of the document, as governed by copyright laws, based on the information relating to the user. The method further includes making available the viewable portions of the document to the user.
According to yet another aspect, a system includes a search engine configured to receive search queries and return links to documents relevant to the search queries. The system further includes a document browsing component configured to, in response to requests for one or more of the documents relevant to the search query, determine access privileges to the one or more of the documents on a per-user basis based on geographical location information of the user. The document browsing component additionally transmits portions of the one or more of the documents permitted by the determined access privileges to the user.



BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, explain the invention. In the drawings,
FIG. 1 is a diagram illustrating general concepts consistent with aspects of the invention;
FIG. 2 is an exemplary diagram of a network;
FIG. 3 is an exemplary diagram of a client or server shown in FIG. 2;
FIG. 4 is a diagram conceptually illustrating the document browsing component shown in FIG. 2;
FIG. 5 is a diagram illustrating portions of an exemplary document stored in the database shown in FIG. 4;
FIG. 6 is diagram illustrating an exemplary set of metadata for a document;
FIG. 7 is a flow chart illustrating exemplary operations of the document browsing component shown in FIG. 2;
FIG. 8 is a diagram of an exemplary document interface presented to a user that requests a document for which full access privileges were determined;
FIG. 9 is a diagram of an exemplary document interface presented to a user that requests a document for which partial access privileges were determined;
FIG. 10 is a diagram of an exemplary document interface presented to a user that requests a document for which restricted access privileges were determined; and
FIG. 11 is a diagram illustrating an exemplary implementation of document browsing component implemented in the context of a printed-material search engine.



DETAILED DESCRIPTION
The following detailed description of the invention refers to the accompanying drawings. The detailed description does not limit the invention.
Overview
FIG. 1 is a diagram illustrating general concepts consistent with aspects of the invention. A document database 105 may store a number of documents, such as books, magazines, or catalogs, that are made electronically available to end users. For example, database 105 may function in the context of an on-line printed document search engine or repository.
The ability to make the documents in database 105 available to the end users may be limited by the display rights possessed by the content provider (i.e., the operator of database 105). Copyright laws, business choices, or contractual restrictions may limit what is desired to be provided to the end users. The portions of the documents in database 105 that can be shown to a particular end user may be determined based on a number of factors, such as: (1) the location of the user (e.g., users in different countries/legal jurisdictions may be subject to different copyright requirements), (2) the permissions that the content provider has for the document being requested, (3) the type of content, and (4) the user's security status or state (e.g., whether the user is a registered user of a particular web site or a member of a particular group).
Consistent with aspects of the invention, users may be presented with different viewing interfaces each designed to present the available portions of the document, such as the portions determined based on the above-listed factors. The intersection of these factors can be conceptualized as permission matrix 110. The output of permission matrix 110 defines the spectrum of display rights available to the particular user. For a public domain document, for example, the display rights may be “full display,” indicating that the entire document can be shown to the users. Other document/end user combinations may correspond to a lower level of display rights, down to as low as “restricted” viewing, which may correspond to a minimum viewing permission.
Exemplary System Overview
FIG. 2 is an exemplary diagram of a system 200 in which concepts consistent with the principles of the invention may be implemented. System 200 may include multiple clients 210 connected to a server 220 via a network 240. Network 240 may include a local area network (LAN), a wide area network (WAN), a telephone network, such as the Public Switched Telephone Network (PSTN), an intranet, the Internet, or a combination of networks. Two clients 210 and one server 220 have been illustrated as connected to network 240 for simplicity. In practice, there may be more clients and/or servers. Also, in some instances, a client may perform one or more functions of a server and a server may perform one or more functions of a client.
A client 210 may include a device such as a wireless telephone, a personal computer, a personal digital assistant (PDA), a lap top, or another type of computation or communication device, a thread or process running on one of these devices, and/or an object executable by one of these devices. Server 220 may include a server device that processes, searches, and/or maintains documents and images in a manner consistent with the principles of the invention. Clients 210 and server 220 may connect to network 240 via wired, wireless, or optical connections.
Server 220 may include a document browsing component 225 that transmits images corresponding to documents, such as image pages of books, magazines, or catalogs, to clients 210. In addition to transmitting images of the pages of the documents, document browsing component 225 may provide information representing the text contained on the pages, such as ASCII text characters corresponding to the documents' pages. These documents may be gathered by document browsing component 225 in a number of ways, such as by optically scanning the documents or by receiving the documents from a third party, etc.
In one implementation, document browsing component 225 may include, or be coupled with, a search engine that allows clients to search a database of the documents via textual search queries.
Exemplary Client/Server Architecture
FIG. 3 is an exemplary diagram of a client 210 or server 220. Client/server 210/220 may include a bus 310, a processor 320, a main memory 330, a read only memory (ROM) 340, a storage device 350, an input device 360, an output device 370, and a communication interface 380. Bus 310 may include conductors that permit communication among the components of client/server 210/220.
Processor 320 may include conventional processors, microprocessors, or processing logic that interpret and execute instructions. Main memory 330 may include a random access memory (RAM) or another type of dynamic storage device that stores information and instructions for execution by processor 320. ROM 340 may include a conventional ROM device or another type of static storage device that stores static information and instructions for use by processor 320. Storage device 350 may include a magnetic and/or optical recording medium and its corresponding drive.
Input device 360 may include one or more conventional mechanisms that permit a user to input information to client/server 210/220, such as a keyboard, a mouse, a pen, voice recognition and/or biometric mechanisms, etc. Output device 370 may include one or more conventional mechanisms that output information to the user, including a display, a printer, a speaker, etc. Communication interface 380 may include any transceiver-like mechanism that enables client/server 210/220 to communicate with other devices and/or systems. For example, communication interface 380 may include mechanisms for communicating with another device or system via a network, such as network 240.
Server 220, consistent with the principles of the invention, may implement additional document browsing component 225. Document browsing component 225 may be stored in a computer-readable medium, such as memory 330. A computer-readable medium may be defined as one or more physical or logical memory devices and/or carrier waves.
The software instructions defining document browsing component 225 may be read into memory 330 from another computer-readable medium, such as data storage device 350, or from another device via communication interface 380. The software instructions contained in memory 330 may cause processor 320 to perform processes that will be described later. Alternatively, hardwired circuitry or other logic may be used in place of, or in combination with, software instructions to implement processes consistent with the invention. Thus, implementations consistent with the principles of the invention are not limited to any specific combination of hardware circuitry and software. Additionally, multiple computing devices may function together to implement the functionality of a single server 220 or document browsing component 225.
Operation of Document Browsing Component 225
FIG. 4 is a diagram conceptually illustrating document browsing component 225. Document browsing component 225 may include a document database 405 and a decision component 410. Database 405 may store documents and information related to the documents. Decision component 410 may generally decide which portions of the documents in database 405 may be transmitted to users requesting the documents. As previously mentioned, this decision may be based on a number of factors, such as the copyright-based or permission-based rights associated with the document.
As mentioned, database 405 may store documents and information related to the documents. FIG. 5 is a diagram illustrating portions of an exemplary document 500 stored in database 405. The information defining document 500 may include images 510 of pages of the document, text 515 of the document, and metadata 520 relating to the document. In some implementations, images 510 or text 515 may not be present. That is, a document 500 may include either page images 510 or text 515.
Images 510 may include images of the pages of the document. By storing images 510, users wishing to view the document can see the document in the form that the document was originally printed. The images may be obtained, for example, by optically scanning each page of the document or by obtaining the images from the publisher, author, or another source.
Text 515 may include the text in document 500 in a machine-readable format. For example, text 515 may include an ASCII (American Standard Code for Information Interchange) representation of the text of document 500. Text 515 may be obtained in a number of ways, such as by performing OCR on images 510, by manually typing the text of the document, or by obtaining the text from the publisher, author, or another source.
Metadata 520 may include additional information relating to document 500. For example, metadata 520 may include publisher information, the ISBN of document 500 (when document 500 is a document, such as a book, that has an ISBN), summary information describing document 500, links to additional information about document 500 (such as Web links), etc. Consistent with an aspect of the invention, metadata 520 may include information relating to access rights associated with or possessed for document 500.
FIG. 6 is diagram illustrating an exemplary set of metadata 520 for a document. As mentioned, metadata 520 may include general information 605 about the document, such as, for a book, an ISBN, the publisher, author biographical information, etc. Metadata 520 may also include a number of fields relating to access privileges associated with the document. The access rights may vary by geographical location, such as by country or jurisdiction. For example, access right 610 may apply to readers in the United States and may indicate that such readers have a first set of access rights. Access rights 615 may apply to readers in Canada and may indicate that such readers have a second set of access rights. For example, readers from the United States may be given “partial” access to the document while readers in Canada may be given “full” access to the document. This may be because the content provider has been granted full rights in the document from the publisher for Canadian readers but has not been granted rights in the United States, so the content provider may choose to only enable fair use display for readers in the United States.
More generally, metadata 520 may include additional information relating to display rights granted from the publisher/content source to the content provider. Examples of such additional information include an indication of whether images or photos should be blocked in documents, a list of domains from which advertisements should not be used, a reference to a logo or link that should be displayed with the document, whether advertisements should be displayed, information defining a “buy the book” link from which the user can purchase a copy of the document, or information defining a link to promotional material. This additional information may be used when formatting the document for presentation to the user.
Additionally, different display standards may be applied to readers in different geographies. For instance, both readers in Canada and the United States may have display ability based on legal or other criteria, but the limited display ability in the two countries may be different. One of ordinary skill in the art will recognize that the various display types available to the users in different locations can be specified for a particular document or a group of documents in a number of different ways. Storing the access rights, which translate into display types, in fields 610 and 615, as described above, is one exemplary technique.
FIG. 7 is a flow chart illustrating exemplary operations of document browsing component 225. The operations of FIG. 7 may begin whenever a user requests a document. A document may be requested, for example, pursuant to a keyword search of a corpus of indexed documents or pursuant to a user request for a specific document.
User information may be determined (act 701). In one implementation, the user information may include the location of the user. The user's location may be determined based on the Internet Protocol (IP) address associated with the user. Alternately, the domain that is being browsed may be used to determine the location. Information other than, or in addition to, the user location may also be used as user information. For example, whether the user accepts cookies may be determined and included as part of the user information. Other user security or state information may also be used. For example, registered users that have successfully logged-on may be eligible to view different portions of a document than non-registered users.
The access rights associated with the document may also be retrieved (act 702). As previously discussed, the access rights may be stored as metadata in database 405. Based on the user information and the access rights associated with the document, decision component 410 may determine what portions of the document are eligible to be shown to the particular user (act 703). The user information and the access rights associated with the document may be thought of as forming permission matrix 110 (FIG. 1), which defines the access privileges that can be granted to the user for the requested document. In some implementations, the content of the document itself may be taken into consideration when determining the access privileges that can be granted to the user. For example, fair use display for a book may be chosen to be a number of paragraphs or pages of text, while the fair use display for a short poem may be chosen to be only a line or two from the poem.
The portions of the document that can be shown to the user may then be appropriately formatted and transmitted to the user (acts 704 and 705). This formatting can be performed in a number of ways. For example, for a given document, multiple versions of the document, each including a select subset of the document, may be pre-formatted and stored. The appropriate version may then be selected and transmitted to the user in acts 704 and 705. Alternatively, the formatting can be performed on the fly. The formatting can, for instance, be a “smart” formatting in which portions of the document that are most relevant to the user (such as portions that include terms of a search query) are selected and formatted for presentation to the user.
In some implementations, photographs contained in the documents may be given special attention when formatting and transmitting the documents to the user. For example, the content source of the document may give permission to display the text of a document but not photographs in the document. The photographs may be individually obscured or deleted from the document.
FIG. 8 is a diagram of an exemplary document interface 800 presented to a user that requests a document for which full access privileges were determined in acts 701-703. In this case, the document is the first page of the book “The Adventures of Huckleberry Finn,” by Mark Twain. This book is in the public domain and may, thus, be freely shown to users requesting the book. The document interface may be presented using a web browser or other viewing software at clients 210. In the example shown in FIG. 8, the interface includes a page image 805 of the first page of the book. Graphical buttons 810 and 815 may be provided for requesting the previous page and the next page, respectively, of the book. An exemplary set of other navigation controls 830 may also be provided in interface 800. As shown, these controls 830 include links to take the user to the front cover, table of contents (TOO), back cover, or to a specified page of the document.
FIG. 9 is a diagram of an exemplary document interface 900 presented to a user that requests a document for which less than full access privileges (“partial access privileges”) were determined. In this example, the document is a book that includes speeches of famous persons. Assume that based on the user's country, the fact that client 210 corresponding to the user accepts cookies, and the rights granted by the content source of the book, document browsing component 225 determines that the user is permitted to view up to 75 percent of any page in the document. Document browsing component may enforce this restriction in a number of ways. For example, as shown, the formatted image returned to the user may include portions, such as portion 905, that are blurred, blocked, or otherwise not readable. Navigation controls 930, similar to navigation controls 830, may additionally be provided to assist the user in navigating through the document.
One of ordinary skill in the art will recognize that “partial access” for a document can be provided in numerous ways in addition to that shown in FIG. 9. For example: in a specified time period (e.g., 24 hours) the user may only be permitted to view a certain portion (e.g., 10%) of the document; only pre-designated portions of the document may be viewable; the document may be stamped or watermarked with lettering such as “copyrighted”; etc. Different “partial access” interfaces may be presented to different users based on their location, other user specific information, and based on access privileges for the requested document.
FIG. 10 is a diagram of an exemplary document interface 1000 for which a user has even less access privileges than those of FIG. 9 (“restricted access”). A restricted access user may be one in which the document and user information dictates that only minimal access to the document may be given, such as a document in which only fair use rights are allowed. In this example, assume the user is performing a keyword search for the word “memory” in a hypothetical book “Harnessing the Rage.” Images of select portions of three pages are shown that include hits for this term, pages 5, 15, and 28. From each page, a small snippet of text 1040 is presented to the user, showing the keyword in the context of the page.
The exemplary interfaces shown in FIGS. 8-10 illustrate an exemplary spectrum of possible document access privileges that may be granted to a user based on user specific information and general access rights of the document. Although three discrete steps in the spectrum were shown, in general, the spectrum of possible access rights can be conceptualized as a continuous one ranging from full access to restricted or no access.
Exemplary Implementation
FIG. 11 is a diagram illustrating an exemplary implementation of document browsing component 225 implemented in the context of a printed-material search engine. A number of users 1105 may connect to a search engine 1110 over a network 1115, such as the Internet. Search engine 1110 may be a search engine that returns links to a ranked set of documents, from a database, that are related to a user query.
The user may select one of the returned document links for viewing. In response, document browsing component 225 may perform the acts described with regard to FIG. 7 to, thus, allow the user to view the requested document to the extent permitted by the user's information and by the access privileges corresponding to the requested document.
CONCLUSION
Various techniques, as described above, are used to present different user interfaces to documents based on the access privileges determined for the documents.
It will be apparent to one of ordinary skill in the art that aspects of the invention, as described above, may be implemented in many different forms of software, firmware, and hardware in the implementations illustrated in the figures. The actual software code or specialized control hardware used to implement aspects consistent with the present invention is not limiting of the present invention. Thus, the operation and behavior of the aspects were described without reference to the specific software code—it being understood that a person of ordinary skill in the art would be able to design software and control hardware to implement the aspects based on the description herein.
The foregoing description of preferred embodiments of the present invention provides illustration and description, but is not intended to be exhaustive or to limit the invention to the precise form disclosed. Modifications and variations are possible in light of the above teachings or may be acquired from practice of the invention. For example, although many of the operations described above were described in a particular order, many of the operations are amenable to being performed simultaneously or in different orders. Also, the graphical user interfaces shown above are exemplary. Other graphical designs or layouts could be used to accomplish same or like functionality.
No element, act, or instruction used in the present application should be construed as critical or essential to the invention unless explicitly described as such. Also, as used herein, the article “a” is intended to potentially allow for one or more items. Where only one item is intended, the term “one” or similar language is used. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise. The scope of the invention is defined by the claims and their equivalents.

## Claims

1. A method implemented by one or more processors associated with one or more server devices, the method comprising:
deriving, using one or more processors associated with the one or more server devices, access privileges for a user of a document based on user information and access rights associated with the document;
selecting, using one or more processors associated with the one or more server devices, additional information relating to the access rights and to a content of the document;
formatting, using one or more processors associated with the one or more server devices, the document, for display to the user, based on the derived access privileges and the additional information, where formatting the document further comprises:
processing one or more first portions of the document to be readable by the user; and
processing one or more second portions of the document to be unreadable by the user, the one or more second portions being selected based on the derived access privileges; and

providing, using one or more processors associated with the one or more server devices, the formatted document, including the one or more readable first portions and the one or more unreadable second portions, for display to the user.

2. The method of claim 1, where the access rights are related to legal display rights for the document.

3. The method of claim 1, where the user information includes one or more of:
information regarding a location of the user,
information relating to whether a device, associated with the user, accepts cookies, or security information relating to the user.

4. The method of claim 1, where deriving the access privileges further comprises:
determining, using one or more processors associated with the one or more server devices, an amount of the document that may be displayed to the user based on a content of the document.

5. The method of claim 1, where
the one or more second portions of the document are one of blurred or blocked.

6. The method of claim 1, where the access rights associated with the document are stored as metadata associated with the document.

7. A system comprising:
one or more processors; and
a memory device that stores one or more instructions which, when executed by the one or more processors, cause the one or more processors to:
derive access privileges for a user of a document based on user information and access rights associated with the document;
select additional information relating to the access rights and to a content of the document,
format the document, for display to the user, based on the derived access privileges and the additional information, where, when formatting the document, the one or more processors are further to:
process one or more first portions of the document to be readable by the user; and
process one or more second portions of the document to be unreadable by the user, the one or more second portions being selected based on the derived access privileges; and

provide the formatted document, including the one or more readable first portions and the one or more unreadable second portions, for display to the user.

8. The system of claim 7, where the user information includes one or more of:
information regarding a geographic location of the user,
information relating to whether a device, associated with the user, accepts cookies, or
information regarding a security status of the user.

9. The system of claim 7, where the additional information includes at least one of:
information relating to whether to block images and graphics in the document from being displayed,
information relating to a list of domains from which not to display advertisements with the document,
information relating to a logo or a link to be displayed with the document,
information relating to whether to display advertisements with the document,
information defining a link from which a copy of the document can be purchased, or
information defining a link to promotional material.

10. The system of claim 7, where when deriving the access privileges, the one or more processors are further to:
determine an amount of the document that may be displayed to the user based on a content of the document.

11. The system of claim 7, where
the one or more second portions of the document are one of blurred or blocked.

12. The system of claim 7, where when formatting the document, for display to the user, the one or more processors are further to:
generate a snippet of text from the document based on a search query that is received from the user and for which the document is identified as relevant.

13. The system of claim 12, where a size of the snippet is based on a content of the document.

14. A device comprising,
at least one processor; and
at least one memory device that stores at least one instruction which, when executed by the at least one processor, cause the at least one processor to:
derive access privileges for a user of a document based on user information and access rights associated with the document,
select additional information relating to the access rights and to a content of the document,
format the document, for display to the user, based on the derived access privileges, the additional information, and the content of the document, where, when formatting the document, the at least one processor is further to:
process one or more first portions of the document to be readable by the user; and
process one or more second portions of the document to be unreadable by the user, the one or more second portions being selected based on the derived access privileges; and

provide the formatted document, including the one or more readable first portions and the one or more unreadable second portions, for display to the user.

15. The device of claim 14, where the access rights associated with the document are stored as metadata associated with the document.

16. The device of claim 14, where the document includes a text portion and an image portion, and
where the at least one instruction to cause the at least one processor to derive access privileges further includes at least one instruction to cause the at least one processor to:
derive first access privileges for the text portion, and
derive second access privileges, which are different than the first access privileges, for the image portion.

17. The device of claim 14, where the
one or more second portions of the document are one of blurred or blocked.

18. The device of claim 14, where the user information includes:
geographic location information that is determined based on a domain of a network site being visited by the user.

19. A method implemented by one or more processors associated with one or more server devices, the method comprising:
deriving, using one or more processors associated with the one or more server devices, access privileges for a user of a document based on user information and access rights associated with the document;
selecting, using one or more processors associated with the one or more server devices, additional information relating to the access rights, where the additional information includes at least one of:
information relating to whether to block images and graphics in the document from being displayed,
information relating to a list of domains from which not to display advertisements with the document,
information relating to a logo or a link to be displayed with the document,
information relating to whether to display advertisements with the document,
information defining a link from which a copy of the document can be purchased, or
information defining a link to promotional material;

formatting, using one or more processors associated with the one or more server devices, the document, for display to the user, based on the derived access privileges and the additional information, where formatting the document further comprises:
processing one or more first portions of the document to be readable by the user; and
processing one or more second portions of the document to be unreadable by the user, the one or more second portions being selected based on the derived access privileges; and

providing, using one or more processors associated with the one or more server devices, the formatted document, including the one or more readable first portions and the one or more unreadable second portions, for display to the user.

20. A method implemented by one or more processors associated with one or more server devices, the method comprising:
deriving, using one or more processors associated with the one or more server devices, access privileges for a user of a document based on access rights associated with the document and one or more of:
information regarding a location of the user, where the information regarding the location is determined based on a domain of a network site being visited by the user,
information relating to whether a device, associated with the user, accepts cookies, or
security information relating to the user;

selecting, using one or more processors associated with the one or more server devices, additional information relating to the access rights;
formatting, using one or more processors associated with the one or more server devices, the document, for display to the user, based on the derived access privileges and the additional information, where formatting the document further comprises:
processing one or more first portions of the document to be readable by the user; and
processing one or more second portions of the document to be unreadable by the user, the one or more second portions being selected based on the derived access privileges; and

providing, using one or more processors associated with the one or more server devices, the formatted document, including the one or more readable first portions and the one or more unreadable second portions, for display to the user.

21. A system comprising:
one or more processors; and
a memory device that stores one or more instructions which, when executed by the one or more processors, cause the one or more processors to:
derive access privileges for a user of a document based on access rights associated with the document and one or more of:
information regarding a geographic location of the user, where the information regarding the geographic location is determined based on a domain of a network site being visited by the user,
information relating to whether a device, associated with the user, accepts cookies, or
information regarding a security status of the user;

select additional information relating to the access rights and to a content of the document,
format the document, for display to the user, based on the derived access privileges and the additional information where, when formatting the document, the one or more processors are further to:
process one or more first portions of the document to be readable by the user; and
process one or more second portions of the document to be unreadable by the user, the one or more second portions being selected based on the derived access privileges; and

provide the formatted document, including the one or more readable first portions and the one or more unreadable second portions, for display to the user.

22. A device comprising,
at least one processor; and
at least one memory device that stores at least one instruction which, when executed by the at least one processor, cause the at least one processor to:
derive access privileges for a user of a document based on access rights associated with the document and one or more of:
information regarding a geographic location of the user, where the information regarding the geographic location is determined based on a domain of a network site being visited by the user,
information relating to whether a device, associated with the user, accepts cookies, or
information regarding a security status of the user;

select additional information relating to the access rights and to a content of the document,
format the document, for display to the user, based on the derived access privileges, the additional information, and the content of the document, where, when formatting the document, the at least one processor is further to:
process one or more first portions of the document to be readable by the user; and
process one or more second portions of the document to be unreadable by the user, the one or more second portions being selected based on the derived access privileges; and

provide the formatted document, including the one or more readable first portions and the one or more unreadable second portions, for display to the user.