PDA

View Full Version : how do i give public access to a folder???


madra
11-08-1999, 06:57 AM
i've set up a BB on a site which is a domain [macwishlist.com] IRMed onto a[nbsp][nbsp]directory within my main site [madra.net].[nbsp][nbsp]i want to create a public folder for the macwishlist site to allow people to upload images to illustrate their postings to the BB.[nbsp][nbsp]how do i set up access to just this folder and keep the rest of my site setup hidden from hackers and other ne'erdowells?

and if it can be done, is there anyway to limit the size of files which they can upload so that i don't get swamped?

i've tried creating a directory and setting rights to 777 but when i try logging without a password using the path to that directory i can't get anywhere[nbsp][nbsp] do i have to go the other route and set it up as a password protected directory and make the password freely available?
------------------
************************
my dreams one to the other said
this life has let us down
************************
<font color=#FF0000>www.madra.net</font>
[a motley collection of crap from[nbsp][nbsp]irish &amp; UK artists.]
************************
<font color=#FF0000>www.macwishlist.com</font>
[share your brainwaves for the future of the apple mac]

Justin
11-08-1999, 01:25 PM
If you are talking about anonymous FTP, this is not available at this time... what you can do is set up an extra FTP login ($5/month) and set a username/password of guest/guest or similar - and you can set this login's root to a particular subdirectory so they cannot move outside of it.

Otherwise you could impliment a web based upload using a Perl or PHP script...

HTH

------------------
Justin Nelson
FutureQuest Support

Binky
11-08-1999, 04:24 PM
This interests me, as well.

I run a local music site and I want to allow musicians to create and maintain their own pages in their own subdirectories. $5 a month for extra ftp logins is too much. (Why is there a monthly charge, anyway? Isn't this just a one-time setup?)

I haven't looked into these scripts yet but there are some at http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Homepage_Communities/ that might do the trick. Can anyone offer insight into these perl scripts?