How do you allow any n digit password in htaccess/psswrd?

D

dorayme

Can you go about allowing *any* n digit password (along with a
particular username) to allow a select number of people to access
a file or folder using the simple technology of htaccess/passwd?

When you make an .htaccess you put in something like

AuthUserFile /public/something.org.au/.htpasswd
AuthType Basic
AuthName "members"
Require valid-user

and you use an encrypter to generate the password that goes into
..htpassd and it might look like this:

johnsmith:hgcrBSZ7XJ6hq

If it was just

johnsmith:

I assume it would be accessible on mere correct name entry?

Is there anything you could write if you wanted any 7 digit
number (0-9 to be used) in any order without having to supply all
permutations. Or is htaccess/htpasswd not that sophisticated?
 
C

Captain Paralytic

Can you go about allowing *any* n digit password (along with a
particular username) to allow a select number of people to access
a file or folder using the simple technology of htaccess/passwd?  

When you make an .htaccess you put in something like

AuthUserFile /public/something.org.au/.htpasswd
AuthType Basic
AuthName "members"
Require valid-user

and you use an encrypter to generate the password that goes into
.htpassd and it might look like this:

johnsmith:hgcrBSZ7XJ6hq

If it was just

johnsmith:

I assume it would be accessible on mere correct name entry?

Is there anything you could write if you wanted any 7 digit
number (0-9 to be used) in any order without having to supply all
permutations. Or is htaccess/htpasswd not that sophisticated?

I would suggest that the correct forum for this sort of question would
be:
alt.apache.configuration
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top