aerofool
09-12-2007, 08:37 AM
Currently I'm using a .htaccess - .htpasswd combo to secure my companies online catalog. The reason for this is that my employer does not want but a select group of customers to see our pricing scale for fear that other companies may try to, well you know. After many tries I did get it to work. Now my employer wants me to do something that I know is not the best idea in the world, but they feel it would make things easier to keep up with. This is what is proposed..
All customers have a 6 digit ID number. Each 6 digit number starts in 00. This is their login for the catalog. My employer wants to know if I can set it up so that anyone can log in with any 6 digit number, as long as it starts with 00 while using a single, universal password for all logins that meet the criterion (6 digit number starting in 00).
Personally, I am totally against doing it this way (can we say almost too easy to hack?), but I promised I would at least look into it.
First question, is it possible to do using .htaccess? If so, what would I need to change/add to it and the .htpasswd file? If this can be done, I will do it for them, but begin lobbying heavily to change it to individualizing passwords exclusive only to the exact customer ID numbers for this is the most secure way in my eyes.
All customers have a 6 digit ID number. Each 6 digit number starts in 00. This is their login for the catalog. My employer wants to know if I can set it up so that anyone can log in with any 6 digit number, as long as it starts with 00 while using a single, universal password for all logins that meet the criterion (6 digit number starting in 00).
Personally, I am totally against doing it this way (can we say almost too easy to hack?), but I promised I would at least look into it.
First question, is it possible to do using .htaccess? If so, what would I need to change/add to it and the .htpasswd file? If this can be done, I will do it for them, but begin lobbying heavily to change it to individualizing passwords exclusive only to the exact customer ID numbers for this is the most secure way in my eyes.