17. The method of claim 10 further comprising: processing the modified user query on the one database and returning results of the modified user query to the user.
10. A method of controlling access to secured data, the method comprising: intercepting a user query of one database of one or more databases; automatically determining from the user query, a user who generated the user query and a user role assigned to the user; parsing the user query and identifying objects in the one database that are to be accessed as part of the user query; looking up security information of identified objects in a metamodel stored in the one or more databases and determining which of the identified objects to filter out of the user query, wherein the security information qualifies which data objects are accessible by certain roles; based on the user role and the identified objects to be filtered out of the user query, automatically building an expression tree to filter out secure data for which the user does not have access rights and modifying the user query by appending the expression tree to the user query to generate a modified user query to filter out secure data for which the user does not have access rights; and applying the modified user query to the one database.