Part of lp.archivepublisher
| Function | write_htaccess | Write a htaccess file for a private archive. |
| Function | write_htpasswd | Write out a new htpasswd file. |
| Function | make_salt | Produce a salt from an input string. |
| Function | htpasswd_credentials_for_archive | Return credentials for an archive for use with write_htpasswd. |
| Parameters | htaccess_filename | Filename of the htaccess file. |
| distroot | Archive root path |
| Parameters | filename | The file to create. |
| users | Iterable over (user, password, salt) tuples. |