preventing an application from running over a network??

  • Thread starter Thread starter giddy
  • Start date Start date
G

giddy

hi,

I've heard its possible!? Is it? : preventing an application from
running over a network. Or it would even be great if i could know if
someone from a networked computer tried to run my program!??

Thanks
Gideon
 
hi,

I've heard its possible!? Is it? : preventing an application from
running over a network. Or it would even be great if i could know if
someone from a networked computer tried to run my program!??

Thanks
Gideon

Off the top of my head:

When starting, get the application path.
Check the drive letter from the path is a local disk. - If not, it is
running from/on/over a network - therefore close the application, or
whatever you want to do in this situation.
also assume not running on local machine if application path is UNC
format.
 
Hi,

giddy said:
hi,

I've heard its possible!? Is it? : preventing an application from
running over a network. Or it would even be great if i could know if
someone from a networked computer tried to run my program!??


They can always make a copy in their local computers , then it would run
locally.

Apart of that when your program execute check the volume it's running from,
and then get the volume description, I think that there you can decide if
it's a network volume or a local one
 
Back
Top