J
Jason Shohet
When a machine starts up at our org, a batch job runs. In that batch job, I
want to call a .NET winforms applicaiton on the network (i'll make it
multithreaded). Can't run locally because they don't want the .net
framework on everyone's pc.
I want that .NET winforms application to write a cookie to the c: drive of
the user, containing the computername, and the name of the person logging in
(i can get those from the batch job and pass them to the winform app?).
Then later, the user will begin using a asp.net app. It will read from the
cookie and determine if the person using this app has rights to the
machine -- by comparing the info of the person that logged into this asp.net
app -- to the info in the cookie. Since users don't have access to their
cookies directory, this will be a secure way to enforce that people cannot
use others' machines here.
( can't use the gethost stuff with asp.net because we do NOT use netbios
here -- company is anti microsoft to an extent although we're all on
windows2000 )
Has anyone ever set a cookie using a windows app, or have code to show how
to do it? Or any other ideas to do what i'm trying to do lol.
Jason shohet
want to call a .NET winforms applicaiton on the network (i'll make it
multithreaded). Can't run locally because they don't want the .net
framework on everyone's pc.
I want that .NET winforms application to write a cookie to the c: drive of
the user, containing the computername, and the name of the person logging in
(i can get those from the batch job and pass them to the winform app?).
Then later, the user will begin using a asp.net app. It will read from the
cookie and determine if the person using this app has rights to the
machine -- by comparing the info of the person that logged into this asp.net
app -- to the info in the cookie. Since users don't have access to their
cookies directory, this will be a secure way to enforce that people cannot
use others' machines here.
( can't use the gethost stuff with asp.net because we do NOT use netbios
here -- company is anti microsoft to an extent although we're all on
windows2000 )
Has anyone ever set a cookie using a windows app, or have code to show how
to do it? Or any other ideas to do what i'm trying to do lol.
Jason shohet