Omair Haroon
08-17-2001, 07:12 AM
Hello Guys..
I need a script which would allow me to password protect any folder on the server or would allow my users to password protect any directory on their website...
Can you please tell me any scripts which does the job ??
Also I have searched the forums and can't find any script that does so till now..
So anyone ?? Please reply me soon..
Regards,
Omair Haroon
Lawrence
08-17-2001, 07:25 AM
We just set a similar thing up for a client, but on a single web site. The script we used was Access Denied from Solution Scripts (http://solutionscripts.com/warehouse/access_denied/index.shtml). It seemed alright, but doesn't do the whole job, because for some strange reason is doesn't create the HTAccess file for you!
I'm not sure if that's what you're after exactly, but it may be worth taking a look.
Omair Haroon
08-17-2001, 07:29 AM
Thanks Lawrence..
But I know that script already and we need a script which CREATE .htaccess for us..
Any others ?
Take a look at these over at hotscripts:
http://www.hotscripts.com/search/?query=htaccess&category=all
There are many options out there to handle .htaccess files. You may want to favor PERL over PHP. PERL can be sent through the cgi-wrapper making it execute under the users id. I would worry that a poorly written PHP script could be manipulated to created .htaccess files outside of a users directory tree.
joubarani
08-17-2001, 09:00 AM
Go to http://gossamer-threads.com/scripts/source/fileman.zip
I used it to created a password protected directory and more....
try it ;)
Omair Haroon
08-17-2001, 01:23 PM
Hello joubrani..
Can you help me in setting fileman ??
please ??
You can contact me using
ICQ : 44359020
MSN : OmairHaroon@hotmail.com
Yahoo! : simplyomair
AIM : CreativeOmair
' Omair
joubarani
08-18-2001, 11:10 AM
Hi,
Just download the file from the specified location. After you unzip it, you'll have 2 file fileman.dat and install.cgi. Upload the 2 file to your cgi-bin dir fileman.dat binary and install.cgi ascii then make the permission for install.cgi 755 and let it work it will find the path by itself. Follow the instruction and everthing will be fine.
Regards,
Joubarani
Omair Haroon
08-18-2001, 12:29 PM
What should i enter in the place of
Password_dir ??
If I enter the directory in which the script is.. it gives an error..
Omair Haroon
08-18-2001, 12:38 PM
Thanks for helping guys..
I was able to install the script..
Thanks for the help guys...
smartbackups
08-18-2001, 12:51 PM
This one is rather handy
http://www.lunamorena.net/perl/passwd.html
Omair Haroon
08-18-2001, 12:59 PM
Thanks..
but I think fileman is the script I needed..
Also passwd.pl does not creates .htaccess file...
berlin
08-19-2001, 12:43 PM
I tried crypt.php from http://123-makeme.com for my raq 4. It didn't work. I had to rm -Rf the directory. Can anyone show me how to do this via telnet. I haven't seen a complete, step by step instruction even in yahoo.
Thanks