Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old February 27th, 2001, 02:51 PM
Tam Tam is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 2 Tam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

Hi all,

I want to give a access to few users access to particular directory. I know how to use the .htaccess and .htpasswd files.

I can create the passwrord for the users but I want to give them the facility to change their password remotely.

I'm using Apache on Win NT. I have perl. Can u suggest me that will do the trick.

I know about 'user_manage' program but it works only on unix.

Thanx for the comments.

Tam



Reply With Quote
  #2  
Old March 1st, 2001, 12:50 AM
carlos carlos is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 11 carlos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You should be able to call the htpasswd.exe executable through a cgi script.

for instance,

$ht = "c:\program files\apache group\apache\bin\htpasswd.exe";

`$ht $userfile $username $password`;

Of course you have to create the form and the other details.
This is all theory of course, since i have not tried it, but
given that i just ran the htpasswd.exe through the commandline i do not see why you cannot call it through you script as a system call.

Hope this helps and Good luck!

-Carlos

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Change user passwords remotely


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway