1. A computer-implement method for developing applications that provide data security, the method comprising: receiving, at a computer system, information specifying a view object as a component of an application development framework, the view object defining how to obtain data corresponding to business objects stored in a datasource for use by an application created by the application development framework, the view object having at least one attribute corresponding to an attribute of the business objects stored in the datasource; receiving, at the computer system, information defining a custom property of the at least one attribute of the view object, the custom property configured to enable attribute-based security for the attribute of the business objects stored in the datasource; receiving, at the computer system, a value for the custom property of the at least one attribute of the view object, the value indicative of one or more security privileges for the attribute of the business objects stored in the datasource; and generating, with a processor of the computer system, a definition for the view object such that instances of the view object instantiated from the definition, based on a determination that the one or more security privileges specified in the custom property for the at least one attribute of the view object are not satisfied, cache a portion of the data corresponding to the business objects stored in the datasource that excludes data corresponding to the attribute of the business objects.