I like the HREF Exe one, it says what I want to do.
The app at work uses a modified version of this to download newer winforms and other components. I thought this worked pretty well but hadn't written anything myself. My tools are most console apps meant to be run from the computer they reside on.
But I need to re-write the console deployment tool as a winapp. We also are being forced to limit the number of users that can terminal services into the build machine. A problem on qa deploy day.
It was suggested that I write it to run as an HREF exe. I like the idea and have started down the path to Code Access Security, etc. As I usually do, I found a bunch of articles and example apps. Wahoo http://www.sellsbrothers.com/wahoo/ for example is very useful.
I am starting pretty much from scratch so as to learn as much as I can.
I created a simple windows app. Created a vdir for the bin\debug directory and starting clicking on it from another machine. The UI opens fine - no security problems.
Next I added a button to create a file - this fails with a security exception as expected.
Then I added a button to delete the file by first checking if it exists. I manually copied the file to the client machine so that it would exist. The code calls File.Exist. Surprising to me is that no security exception is thrown but the framework just says the file doesn't exist.
Next I am creating an security policy installer to add permissions, one at a time to see what happens.
The nice thing about writing these kinds of tools is that I get a chance to learn a lot. I could have just writen something that works - give my app permissions to do anything but I need to learn this stuff and am.