1 Answer
1

So you are using a Web Service with the DVWP because you are pulling items from a SharePoint list that exists in a separate site collection? Is the site collection located in the same Farm/Web Application, etc?

The security trimming is not related to the DFWP, but the data connection provider you are binding to, and its related ability to impersonate the user's identity to perform security trimming. When using the List data source provider, it will use the current user identity to security trim the results within the current site or site collection. When connecting to a web service, the web service is going to return results based on the security trimming of the account used when invoking the web service. Depending on your authentication configuration this may be end-user identity, the IIS Application Pool identity of the web application hosting the client site, or the $MACHINE anonymous account.