Am I right in thinking that a user can never log out by clicking the "Logout" button, when using this module? Is there another clean way of logging the user out? It's a security risk if they can't log out.

Thanks

Comments

kswan’s picture

Status: Active » Closed (fixed)

stodge:

It is important to understand that this module defers authentication to the webserver (usually Apache or IIS). At that point, all security depends on the configuration of the webserver. Drupal and webserver_auth have no way to control the configuration of the webserver.

If you have set access control on the whole drupal directory, the user must be authenticated (with the webserver) to see any page. Any unpatched version of webserver_auth will automatically log the user into drupal when they visit any page. If a user needs to logout so they can log in as a different user, please see the patch in #22981: Logout after NTLM login.

I am not sure what kind of security risk you are referring to, but any security risk depends on the webserver configuration and the security of the client PC.

kswan’s picture

Status: Closed (fixed) » Fixed

oops, I set the status incorrectly.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.