> I was looking for a similar solution for long.
>
> However, at some different forum, I read that this may not work in LAN. It will need a global name (domain).
>
> Could you please explain this aspect?
>
> Thanks,
>
> Vivek
>
> >
> > Hi Jamie
> >
> > Thanks to your post and Pete's I have created a class that does exactly what I need. Now my app and all source files are protected.
> >
> > My apps are inhouse and run on TS so I need the memory profile to be small. Also a small 1 meg file starts up faster than a 35 meg monster which is what I get if I include everything - the images, reports, forms etc. So I have had to keep them all external and vunerable. Also we need frequent live changes for business reasons.
> >
> > So
> >
> > 1. I created a hidden share. I removed all access except by Admin and a special username.
> > 2. I moved all the forms, reports, images etc (everything) into this share maintaining the directory structure.
> > 3. In the EXE I added my class with code from foxwiki pointed to by you. This EXE is made to impersonate the special user. The EXE is Armadillo'ed and placed in a separate Applications dir.
> > 4. My startup code - the first thing it does is set up the impersonation and then set the default to the hidden share. The rest works as normal.
> >
> > Thanks heaps since I was looking for a solution, especially with PCI Compliance coming up from VISA by June and this has secured all the code and made the applications compliant.
> >
> > You should change your photo though since no one would recognise you from that photo :)
> >
> > Bernard
> >
> > ** If you see someone without a smile, give em one of yours :) **
>
>
>
> Vivek
Vivek
This has now been moved to the FAQ section. You can read about it there.
All LAN's need to belong to a Domain. That is something that is setup by your network engineer. Ij no domain, then you need at least a Workgroup so that security can be set.
This is network stuff better explained by network experts.
Google for more info on domains or workgroups.
Bernard
** If you see someone without a smile, give em one of yours :) **