[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

Creating folders for users to upload photos in a photo sharing website

We want to create a photo sharing site for mountain biking, where registered users are given write/upload access to their own folder in the website, and nobody else except us as administrator can make changes in their folder. We want to maintain security in the process.

Ideally on registering,  a user 's unique folder is created (physically or perhaps virtually?) and where only he has write permission, so that he can receive specific ftp access. How can this best done?

Our website is hosted, but we are able to create different ftps. Until now we have not done this, so are unsure what best to do here.  We want to avoid doing this all manually if humanly possible.
0
pcardwell
Asked:
pcardwell
1 Solution
 
elimesikaCommented:
HI

The best secured solution for that is to create a web service that will handle the download. The user should not know the name of the physical or virtual folder , he will just have a logical name that you can bind to the physical directory you are creating. You can read the photo to a stream and send it to the service with the user Id, the service then can create the user directory (if not exists) and write the photo from the stream.
0
 
adnanj76Commented:
Hello,

Or you can either you web applications like "Gallery" (http://gallery.menalto.com/), they are easy to setup and easy to manage web applications, you can create different user and set their privileges or permissions to view certain photo albums.
0
 
Ray PaseurCommented:
Our church wrestled with this issue, too.  In the end we decided to use Flickr.com and a Yahoo Group.  When we put up new photos on Flickr, we just send an email note to the Yahoo Group and everybody gets a once-a-day email digest of new pictures.  No new pictures, no email, so you only get a message when there is something to see.  It was easy to set up and it works like a charm.  All the heavy lifting has already been done for us!

Hope that helps, ~Ray
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
pcardwellAuthor Commented:
Thanks Adnanj76, Gallery might be something we use, and in the past I did configure a site to use it (Gallery2 I think), but did not invest much time learning how to customise. Looked clunky, but I did not give a chance really. Still, am not ruling out yet.

Thanks too Ray. This is indeed a simple and elegant solution. It works when you have a mail list (we don't) and there is one main source of photos. Flickr is great, but not easy to change how albums look. I'm very impressed by open source JAlbum, great range of different skins, so am trying to integrate into our dedicated website. If we can get to work, everybody can pick style they want and possibility of a stronger community. But definitely more of a learning curve too.
0
 
Ray PaseurCommented:
I use JAlbum for some of my own work and love it -- be sure to get the latest download.  As far as the mail list goes, that's why we went with a Yahoo Group.  Our Youth Director says I should tell you to look at Facebook, too.  Best, ~Ray
0
 
pcardwellAuthor Commented:
thanks!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now