简体   繁体   English

AIX上的Delphi用户身份验证

[英]Delphi user authentication on AIX

I am writing a Delphi application that allows a user to connect to an AIX system to perform various tasks. 我正在编写一个Delphi应用程序,该应用程序允许用户连接到AIX系统以执行各种任务。

I need to allow a user to sign on to the AIX system before they are allowed to do anything, so I need a method by which their username/password can be authenticated. 我需要允许用户登录到AIX系统,然后才能执行任何操作,因此我需要一种可以验证其用户名/密码的方法。

I had initially thought that I could display a sign on screen where they would enter their username and password, then establish an FTP connection (or Telnet, or something similar) with the AIX system, but this would not be a reliable method as the functionality may be locked down (eg. FTP port blocked etc.) which would obviously result in a failed sign on despite the username/password credentials being correct. 最初,我以为我可以在屏幕上显示一个标志,让他们输入用户名和密码,然后与AIX系统建立FTP连接(或Telnet或类似的名称),但这并不是可靠的方法可能被锁定(例如,FTP端口被阻止等),这显然会导致登录失败,尽管用户名/密码凭据正确无误。

The bottom line is this: How can I authenticate a user's username/password against an AIX user account by using Delphi? 底线是:如何使用Delphi对AIX用户帐户验证用户的用户名/密码? A colleague suggested that using SSH might work, but I suppose I'd need a 3rd party component for that (if one exists). 一位同事建议使用SSH可能有效,但是我想我需要一个第三方组件(如果存在)。 I am using Delphi 2009 Pro. 我正在使用Delphi 2009 Pro。

AIX supports Kerberos , you only need a Kerberos client for Delphi. AIX支持Kerberos ,对于Delphi只需要一个Kerberos客户端。

See 看到

How can I get a Kerberos ticket with Delphi? 如何使用Delphi获得Kerberos票证?

Kerberos (pronounced /ˈkɛərbərəs/) is a computer network authentication protocol, which allows nodes communicating over a non-secure network to prove their identity to one another in a secure manner. Kerberos(发音为/kɛərbərəs/)是一种计算机网络身份验证协议,该协议允许通过非安全网络进行通信的节点以安全的方式相互证明自己的身份。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM