1. A method, in a data processing system, for filtering requests and server responses, the method comprising: configuring a viewport server with filtering rules for responses from a directory server, wherein the responses are generated to fulfill requests from a client application and wherein the filtering rules determine which data is to be forwarded to the client application; intercepting one or more responses from the directory server to the client application; filtering the one or more intercepted responses according to the filtering rules to produce a set of filtered responses; and sending the set of filtered responses to the client application.