1. A method for generating and storing a markup language document within a network, the network including a client, and one or more storage locations, the method comprising: generating a markup language document; accessing policy information, wherein the policy information defines a content-filtering policy, a security policy and a storage location policy for the markup language document; determining a portion of the markup language document that is subject to security, based on the content-filtering policy as defined in the policy information; identifying a storage location for storage of the markup language document from among the one or more storage locations, based on the storage location policy as defined in the policy information; applying security to the determined portion of the markup language document based on the security policy as defined in the policy information; and storing the markup language document on the identified storage location.