cfructose
08-01-2009, 04:10 PM
My host tech support just said:
The .htpasswd system uses a very old security technique that has a number of problems (7 character password limit, some characters not properly recognized, conflicts with certain mod_rewrite rules and conditions, etc.). It is highly recommended that you avoid using the htpasswd system if at all possible.
This got me thinking: during the development phase of a site, I always simply smack a .htaccess password on it until I want it to be publicly accessible. I've done that for years without ever asking what other people do.
Naturally, a stronger and safer alternative is to have an almost blank index.php page with only a form to submit the developer's password, which would then reload the site under development without that form.
Are there other options?
What does everyone here do?
Is my host right in his vociferous warnings against using .htaccess for this purpose?
Curious to here what you all do.
The .htpasswd system uses a very old security technique that has a number of problems (7 character password limit, some characters not properly recognized, conflicts with certain mod_rewrite rules and conditions, etc.). It is highly recommended that you avoid using the htpasswd system if at all possible.
This got me thinking: during the development phase of a site, I always simply smack a .htaccess password on it until I want it to be publicly accessible. I've done that for years without ever asking what other people do.
Naturally, a stronger and safer alternative is to have an almost blank index.php page with only a form to submit the developer's password, which would then reload the site under development without that form.
Are there other options?
What does everyone here do?
Is my host right in his vociferous warnings against using .htaccess for this purpose?
Curious to here what you all do.