glideinWMS / glideinwms

The glideinWMS Project
http://tinyurl.com/glideinwms
Apache License 2.0
16 stars 45 forks source link

Restricted HTCondor authentication to exclude unauthenticated beside anonymous #401

Closed mambelli closed 5 months ago

mambelli commented 5 months ago

Restricted HTCondor authentication to exclude unauthenticated@ beside anonymous@

The anonymous mapping is the result of a catch-all line in the mapfile. With the addition of different authentication types, if they are not in the mapfile condor will default to unauthenticated if the authentication is valid but not in the mapfile, so it is wise to add this mapping to the DENY_... rules.

This was recommended by @rynge via Slack. The security risk when enabling SSL is not in GlideinWMS since the mapfile includes:

SSL (.*) anonymous
GSI (.*) anonymous
FS (.*) \1

But this change is a good hardening of the configuration.

Related HTCondor tickets: