1. A method for anonymizing selected content in a document, the method comprising: receiving as input a document comprising content; determining a first context in which said document was prepared; determining a second context in which said document is permitted to be viewed; identifying named entities and at least two types of named entity data of said named entities in the document based on said first context and said second context; assigning a user access privilege to said user based on historical data of previous access privileges for said user, said first context, and said second context; comparing the named entities identified in the document with a pre-defined set of named entities and at least one type of named entity data identified for said user with said user access privilege to view the document based on the first context and the second context; concealing the named entities identified in the document that match with the pre-defined set of named entities and said at least one type of named entity data; and providing as output an anonymized document to the user, wherein the set of pre-defined named entities and said at least one type of named entity data have been concealed, and another of said at least two types of named entity data of said named entities is displayed to said user, but is concealed to another user without said user access privilege.
7. The method of claim 1 , wherein the user access privileges for viewing the document vary for the users depending on the context.