|
|
Joined: Aug 2001
Posts: 8
Lurker
|
Lurker
Joined: Aug 2001
Posts: 8 |
Not exactly linux specific but I was wondering if anyone knows of a scripts that would allow users to select their own username and password for htaccess? This way I could just give users a link through Email or something and they could do this themselves? It's not a huge deal, I'm just lazy LOL and it gets to be alot setting up X amount of users for htaccess.
Thanks.
|
|
|
|
Joined: Jun 2001
Posts: 729
Coder
|
Coder
Joined: Jun 2001
Posts: 729 |
This is self defeating. .htaccess/.htpassword is meant to restrict/grant access to areas/files. If someone comes across the link and it allows them to enter their user ID and password why then bother protecting it???
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
Joined: Aug 2000
Posts: 1,609 |
|
|
|
|
Joined: Oct 2000
Posts: 2,223
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,223 |
please enter your username and password so that you can enter your user name and password.
Hmm, imagine all the time you'll spend answering email explaining that?
Picture perfect penmanship here.
|
|
|
|
Joined: Aug 2001
Posts: 8
Lurker
|
Lurker
Joined: Aug 2001
Posts: 8 |
Ok maybe I should have explained my self a bit better. Say you have a site that is private and people have to register and pay to gain access. Is there a way for them to select their own username and password during the sign up / payment process? without you having to do it manually after they register. This way, you wouldn't have to worry about the security issues because they'd be paying you for access. If this makes anymore sense?
Last edited by Carl36; 07/09/2003 5:32 PM.
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
Addict
Joined: Apr 2002
Posts: 1,768 |
The only hard part would be generating the password. Apache uses an obscure algorithm for doing that, and I haven't come across any clear documentation on the algorithm. This osCommerce addon might be adapted for this purpose. I had planned to examine it sometime.
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
I think I have a perl script somewhere that does this, if you want I can try to locate it and see if it can be changed into php.
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
Addict
Joined: Apr 2002
Posts: 1,768 |
I'd be interested in seeing the script, regardless of whether it's Perl or PHP.
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
I had a power outage at home so I can't reach my computer until I go back home, which will be another week or two. You'll have to remind me to look for it then.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|