1. A method of controlling access to secured data, comprising: employing a repository, wherein the repository is operatively coupled to one or more databases storing secure data: intercepting a user query of one database of the one or more databases; automatically determining from the intercepted query, a user who generated the user query and a user role assigned to the user; parsing the intercepted query and identifying objects in the one database that are to be accessed as part of the user query; looking up security information of the identified objects in a metamodel stored in the one or more databases and determine which 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 determined 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 filter out secure data for which the user does not have access rights; and applying the modified query to the one database; using the repository to secure the security information in a database model; and enabling the security information to be dynamically adjustable at runtime.