Forums
This topic is locked
Login in NT and show username?
Posted 08 Nov 2002 10:45:41
1
has voted
08 Nov 2002 10:45:41 Henrik Sandeberg posted:
I could need som help with a thing. I would like to let my users login in NT and automaticly login in my intranet. For that I need to see who has logged in into the workstation. Is that posible? Replies
Replied 08 Nov 2002 11:39:01
08 Nov 2002 11:39:01 Vince Baker replied:
This is possible, I suggest finding a tutorial on the subject.
One good example of a site that uses this concept is the snitz forum that is behind this forum... Look a the foot of the page in this site and download the forum free from snitz, examine the code and that will give you some answers.
(or wait for someone here to tell you)
Regards
Vince
Response.write("The best line of code you can ever use"
VBScript | ASP | HTML | SQL | Oracle | Hosting
One good example of a site that uses this concept is the snitz forum that is behind this forum... Look a the foot of the page in this site and download the forum free from snitz, examine the code and that will give you some answers.
(or wait for someone here to tell you)
Regards
Vince
Response.write("The best line of code you can ever use"
VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 08 Nov 2002 12:10:12
08 Nov 2002 12:10:12 Henrik Sandeberg replied:
I have tried this, and i have also written an aspfile that check all the keys, but, on the LOGON_USER key its always empty,, but if you write in a command prompt: echo %username% you will get the username, but not in the Request Server Variables. I wonder why.........
Replied 08 Nov 2002 14:46:43
08 Nov 2002 14:46:43 Iain Stewart replied:
logon user key will be empty because when users log on to NT they have to press control alt delete to access the log on box, and these keys kill all processes that are running to stop key loggers grabbing user passwords.
Iain
head hurts, 'mental note to self, stop banging head !'
Iain
head hurts, 'mental note to self, stop banging head !'
Replied 11 Nov 2002 10:34:07
11 Nov 2002 10:34:07 Henrik Sandeberg replied:
HMM, thats NOT correct, cause if I set the NT to not use the anonymous login it will show me the username, thats no problem, but i dont want to have it that way.
Replied 11 Nov 2002 14:20:32
11 Nov 2002 14:20:32 Iain Stewart replied:
when users log on to the workstation you cant use your key grabber as i said before pressing control alt del stop all process's including your asp file from getting information, but as you said you can do %username% at cmd prompt after they have logged on to get info but you can't get their password, its part of NT security. Have you thought about creating a cookie to to hold there web site info that comes down with their nt profile ?
Iain
head hurts, 'mental note to self, stop banging head !'
Edited by - iaintkd on 11 Nov 2002 14:21:31
Iain
head hurts, 'mental note to self, stop banging head !'
Edited by - iaintkd on 11 Nov 2002 14:21:31
Replied 11 Nov 2002 15:59:02
11 Nov 2002 15:59:02 Henrik Sandeberg replied:
Yeah,, i have, but i dont really know.
Replied 22 Nov 2002 06:38:36
22 Nov 2002 06:38:36 Dave Blohm replied:
to use request.servervariables("auth_user"
the accessed resource (or page) must have nt security set up on it so that anonymous access is not allowed--requiring the user to provide their network user id and pw...this populatat the aut_user variable...you can make the process transparent by enabling Integrated Windows Authentication...but like all things Microsoft, this doesnt always work well, esp if any users are behind caching appliances...
Doc
Rangewalk Digital Studios
Doc
Rangewalk Digital Studios
