pico /usr/local/bandmin/htdocs/.htaccess
Put the following in the file:
AuthUserFile /usr/local/bandmin/.htpasswd
AuthGroupFile /dev/null
AuthName "Bandwidth Login"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
Hit Ctrl+X then Y and then Enter
Then
htpasswd -c /usr/local/bandmin/.htpasswd username
(username is the username you want to create)
enter your password
enter your password again
If you dont have htpasswd installed on your server you can go to
http://www.euronet.nl/~arnow/htpasswd/ to generate one. Then just use pico to edit /usr/local/bandmin/.htpasswd and paste the line of text that the site gave you into it.