User Authenticaction
Posted by: Ty (---.dsl.dytnoh.ameritech.net)
Date: July 18, 2006 06:43PM

How an I find out how to setup user authentication in a WindowsXP environment?

Options: ReplyQuote
Re: User Authenticaction
Posted by: Ty (---.dsl.dytnoh.ameritech.net)
Date: July 20, 2006 02:09PM

I know that I would use htpasswd.exe, however the only instructions I can find are for Unix servers rather than Windows. I need users in my local network to access my server, but no outsiders. A link or anything would be greatly appreciated.

Options: ReplyQuote
Re: User Authenticaction
Posted by: yfastud (72.236.169.---)
Date: July 20, 2006 02:21PM

Not sure about htpasswd.exe, but .htaccess and .htpasswd in the dir that is wanted to protect.
Hope this help

Options: ReplyQuote
Re: User Authenticaction
Posted by: Ty (---.dsl.dytnoh.ameritech.net)
Date: July 20, 2006 02:34PM

I have Unix instructions that read as follows:

After creating a text file with Users and Passwords execute htpasswd.exe
htpasswd -c /usr/local/etc/httpd/users John_Doe

I don't know how to do this in Windows.

Options: ReplyQuote
Re: User Authenticaction
Posted by: roms (---.w193-251.abo.wanadoo.fr)
Date: July 20, 2006 02:37PM


Options: ReplyQuote
Re: User Authenticaction
Posted by: yfastud (72.236.169.---)
Date: July 20, 2006 03:56PM

He...he... the link is so detail and so good for beginner like me, so here is the "instant noodle" setup, and make sure to name them as .htaccess and .htpasswd, not as htaccess.txt or anything else.

// file .htaccess
AuthUserFile C:/wamp/www/your_private_folder/.htpasswd
AuthName "Private Area"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>

// file .htpasswd
testuser:testpassword

Then, when getting a popup ask for authentication, just enter username is "testuser" and password is "testpassword", of course w/o quote.

Configure more, base on the detail on the link, to meet your desire.

Hope this help



Post Edited (07-20-06 16:09)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: User Authenticaction
Posted by: Ty (---.dsl.dytnoh.ameritech.net)
Date: July 20, 2006 05:06PM

Thankyou very much, I'll look these over after work.

Options: ReplyQuote
Re: User Authenticaction
Posted by: yfastud (72.236.169.---)
Date: July 20, 2006 05:10PM

logmein to test it over your home webserver

Options: ReplyQuote


Sorry, only registered users may post in this forum.