Re: Urgent: Securing a .net 1.1 application



On 29 May, 12:11, "George Macrides" <gmacri...@xxxxxxx> wrote:
Hi All,

I need some help!

I am about to complete an important company application that will be hosted
outside our building. Is there a way of hiding/encrypting/securing bits of
code so that even the Web Administrator of the hosting company cannot mess
with my stuff and use my app as his/hers? MS SQL server 2k will also be
used, if that makes any difference. I am kinda old fashioned using vb .net
1.1 with VStudio 2k3.

I thought of building a dll but with reverse engineering these days, that
doesn't seem to be very safe.

Any suggestions will be greatly appreciated!

Tia

George M.

You can't stop people using Reflector to grab your code, obfiscation
doesnt stop them stepping through the code, although routines that
were called getUser() etc would be renamed a(), so the meaning
attached to functions and variables is protected.

If you want to stop people reengineering your code and replacing it,
then again this can't be stopped directly, but you could strong name
your exe and add a code access rule on the target machine so that your
code will only load if the public key is the same, but I suppose they
could delete that rule as well.

You could encrypt some functionality into a dll and load it at
runtime, but the encryption key would be visisble, via reflector, in
the non encrypted bit that loads the dll.

So as far as I can see you can only raise barriers...

Cheers

Tom

.



Relevant Pages

  • Re: running a service/driver/application upon startup
    ... debug version of the image is too large to load onto the device. ... I ran dumpbin/exports on the finger dll and saw the required function names: ... > theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)
  • Re: Unable to load custom driver on WinCE 6
    ... I'm trying to make and load a simple DLL on WinCE 6 by following the ... I've made a subproject at PB project to include the simple DLL ... At the target device, the mydriver.dll file is in the Windows ... I wrote a simple application to load the driver dynamically ...
    (microsoft.public.windowsce.embedded)
  • Re: Cannot activate sbcl
    ... but I think what happens is that Windows sees that your executable has a DATA section that might overlap a DLL's address space then it would reallocate that DLL to different address space. ... VirtualAlloc dynamically in your code is that your program and all its ... What can be done here is to have many tiny executables with different BSS sections in them, which then load a bigger executable in the form of a DLL. ...
    (comp.lang.lisp)
  • Re: DLL load should be easy, but errors
    ... But I cant load even the simple DLL I ... Just supply the exe with the path to the DLL I showed. ... foreach (Type typ in types) ... 'typ.GenericParameterAttributes' threw an exception of type ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Loadlibrary returns err.lastdellerror 127
    ... the resulting .exe I load all the dependant DLL's first (there are ... Assuming this is a 'regular' Dll and not an ActiveX Dll. ... you do NOT need to 'load' all the dependant Dlls. ... Actually the declare statements are there as well. ...
    (microsoft.public.vb.general.discussion)