Password protection can be done on the server side. Create a password-protected directory on the server and then upload the gallery in there. Then users will be required to login before given access to that particular gallery. You can set things up so each client has their own protected gallery.
Razvan Neagu
Shozam Web Gallery Generator
Executive Team