Security Securing a page with login script, generating passwords of specified length etc

General