The hassle in coding .NET for a large network which doesn't trust you

For the last couple of years .NET has crept in as my programming language of choice. It’s wonderfully simple, makes light of usually tedious programming tasks and has a lot of support on offer. From the start, the .NET framework had a security feature whereby un-trusted code would not be permitted to be executed from network locations. This is a wonderfully secure idea and is probably a very very good thing to have – unless of course you’re writing shared applications that need to be run from a network location on a large network.

Often we need to run a home-grown application from a Novell login script for all users. Now, my almost exclusive use of .NET doesnt go down well with this idea. Sure, all my code is signed by my personal strong encryption key-pair, but unfortunately apart from my development machine, no other machine on the network has my key installed, nor would anyone trust it. Which leaves me with only one real alternative: writing a distributor application in an older, less restrictive language and letting that execute the .NET application from a local drive.

So my solution is simple enough – whip up a quick and dirty application in VB6 or something similar which simply copies the .NET application from a network location to the local drive and then executes it from there.

Problem solved.

You might also enjoy:

  • Web-based Distributed Authoring and Versioning (WebDAV), is a set of extensions to HTTP which allows users to collaboratively edit and manage files on remot ...
  • The dreaded 169.254.xxx.xxx IP range with a 255.255.0.0 subnet mask is the first indicator that there is something very wrong with your network setup and sh ...
  • Strangely enough (and I am not the only person to get this problem), after installing Windows XP Service Pack 3 (SP3) on my five machines at home, one of th ...
  • I've just finished writing a quick and dirty application that basically summarises all of the private programming work I've done over the last couple of yea ...
  • Vista comes with a sneaky little extra in the form of the secret right-click context menu, useless to most but pretty damn cool for all us power users out t ...

About Craig Lotter

Craig Lotter is an established web developer and application programmer, with strong creative urges (which keep bursting out at the most inopportune moments) and a seemingly insatiable need to love all things animated. Living in the beautiful coastal town of Gordon's Bay in South Africa, he games, develops, takes in animated fare, trains under the Funakoshi karate style and for the most part, simply enjoys life with his amazing wife and daughter. Oh, and he draws ever now and then too.
This entry was posted in Technology & Code. Bookmark the permalink.
    blog comments powered by Disqus