Tag Name authenticate_program
Usage authenticate_program path/to/program path/to/passwdfile

Description
This tag is used to specify the command for the external authenticator. Such a program reads a line containing “username password” and replies “OK” or “ERR” in an endless loop. If you use an authenticator, make sure you have 1 acl of type proxy_auth. If you want to use the traditional proxy authentication, jump over to the ../auth_modules/NCSA directory and give

# make
# make install

The source for this program is included in the source distribution, in the auth_modules/NCSA directory. You should now have an ncsa_authprogram in the same directory where your squid binary lives. You may need to create a password file. If you have been using proxy authentication before, you probably already have such a file. You can get apache’s htpasswd program from here. Pick a pathname for your password file. We will assume you will want to put it in the same directory as your Squid.conf.

Default authenticate_program none By default, the authenticator_program is not used

Example
authenticate_program /usr/local/squid/bin/ncsa_auth /usr/local/squid/etc/passwd