IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New apache .htaccess and .htpassword
.htpasswd file consists of a name:hashedPassword
now I need to have the name portion be a random string of 11 numbers and basic auth doesnt understand regex in the .htpasswd file. Or maybe I dont understand how it works.
11 random numbers and one password. Yes I know its insecure
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free American and do not reflect the opinions of any person or company that I have had professional relations with in the past 55 years. meep
New Not sure what you're trying to do.
.htpasswd is similar in concept to /etc/passwd - it's just a list of valid usernames and their matching (hashed) passwords. It probably does a brute-force search.

Wade.
Static Scribblings http://staticsan.blogspot.com/
New yes, thats correct
what I need is a simple auth
anyone putting in a string of 11 random digits and the correct password gets in the special directory

I cant figure out how to do that with apache basic auth
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free American and do not reflect the opinions of any person or company that I have had professional relations with in the past 55 years. meep
New Ah.
Well, so long as you are happy with 'use this string of 11 random digits and this password', then .htpasswd can help. If it's 'use any string of exactly 11 random digits and this password', then no, it can't be done with .htpasswd.

Wade.
Static Scribblings http://staticsan.blogspot.com/
New :-( its use any string of exactly 11
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free American and do not reflect the opinions of any person or company that I have had professional relations with in the past 55 years. meep
New What altman said
New mod-auth-external
mod-auth-external and a program in the language of your choice that does as you want.

http://code.google.c...od-auth-external/
     apache .htaccess and .htpassword - (boxley) - (6)
         Not sure what you're trying to do. - (static) - (4)
             yes, thats correct - (boxley) - (3)
                 Ah. - (static) - (2)
                     :-( its use any string of exactly 11 -NT - (boxley) - (1)
                         What altman said -NT - (crazy)
         mod-auth-external - (altmann)

This isn't AOL, despite the best efforts of a nameless few.
73 ms