From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,3fc64f1214fae22a,start X-Google-Attributes: gidf7344,public X-Google-Thread: fc7fa,3fc64f1214fae22a,start X-Google-Attributes: gidfc7fa,public From: Dave Carpentiere Subject: Login Location Restrictions? Date: 1998/08/04 Message-ID: <35C71ABA.88A901D@mail.plymouth.edu>#1/1 X-Deja-AN: 377828509 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Plymouth State College MIME-Version: 1.0 Newsgroups: comp.os.vms,comp.sys.vms Can somebody offer me some advice....or point me in the right direction? Thanks in advance: I need some way to limit where a paticular user account can log in. I need to set up this account so if the user logs in at an unauthorized location they get kicked right out. If they log in at an acceptable location a program executes based on where they are..... This is part of a custom point-of-sale "debit" system and I only want the account logging in at the foodservice locations (for obvious reasons). I had this witking under LAT where I used statements such as the following..... $ ! $ if f$getdvi("tt:","tt_accpornam") .eqs. "THUB05/PORT_12" then goto flex_m $ if f$getdvi("tt:","tt_accpornam") .eqs. "THUB05/PORT_14" then goto flex_s $ if f$getdvi("tt:","tt_accpornam") .eqs. "THUB05/PORT_15" then goto flex_d $ goto no_good Well, our IT area is discontinuing the LAT protocol so I need to somehow do this through TELNET - TCP/IP. When I use the f$getdvi function with the new protocol all I am able to get is the terminal server address (such as thub05.sample.edu).....what I need is some way to identify the port number that I am connected to (i.e. :4020.....we've already set it so it does not change, thus we can validate against it). I'm also open to a totally different approach for limiting this access! Any thoughts? Suggestions? Alternatives? Thank you, Dave Carpentiere Plymouth State College