Drupal External Authentication
问题 I have a cURL PHP script which is able to validate a username/password against the external source. What is the best way to integrate this as a login requirement for (select) users in Drupal? 回答1: To start with, you could look at the code of the OpenID module that comes with Drupal 6 - creating a new module based on this code should get you 90% of the way. It allows existing users to associate OpenIDs with their accounts, and it sounds like you'd need to do something similar from your reply