Anonymous Acces & CQWP
So not much activity on my blog last days, due to some deadline stress. But like all deadlines they sometimes reveal some nice issues. In our case we had a website containing some Content Query Webparts that rolled up some detail info. And then the fun started, a site has anonymous access. And as an example rolling up blog items gets you stuck @ copyutil.aspx, and clicking a url containing that page will present your anonymous users with a nice popup box asking them to log in. Not a very nice user experience most of us agree on;
So instead of writing some custom XSLT containing a correct url, or deriving the CQWP class and rewriting the url, I stumbled upon a great blog by Mike Johnson, about replacing some files fixing this issue.
Concluding; just replace a file and you’re done.