@AdamGundrySep 23.2004 — #I'll not go in to great detail, but basically you would have a PHP script to check the password (which could come from a file or database) and then provide a page listing available downloads. It would probably not be significantly more secure (at the moment, your security is handled by the FTP server, not JavaScript) but it would be much more usable and would work even for users with JavaScript disabled.
@artemisSep 23.2004 — #[font=technical][size=3]the very nature of PHP is more secure as it is processed sever-side which means that the users computer never sees the PHP code, unlike JavaScript.[/size][/font]