From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,3fc64f1214fae22a X-Google-Attributes: gidf7344,public X-Google-Thread: fc7fa,3fc64f1214fae22a X-Google-Attributes: gidfc7fa,public From: Steve Spires Subject: Re: Login Location Restrictions? Date: 1998/08/04 Message-ID: <35C71528.6EAC6540@fordNO.SPAMcom>#1/1 X-Deja-AN: 377844888 Content-Transfer-Encoding: 7bit References: <35C71ABA.88A901D@mail.plymouth.edu> To: davec@mail.plymouth.edu Content-Type: text/plain; charset=us-ascii Organization: Jaguar Cars Mime-Version: 1.0 Reply-To: stevespires@compuserve.com Newsgroups: comp.os.vms,comp.sys.vms Are your users connecting through a Decserver or similar? Why not try using the TELNET CREATE_SESSION command to create specific TNAnn: terminal/devices mapped to ports on the server, then do your checks against that? You could even then use SYSMAN ALF to specify only certain users can log on from that terminal/port. Steve Spires Dave Carpentiere wrote: > > 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