Community & Support

Using Drupal to share user specific files?

I am going to be creating a small site that needs only some basic functionality. Drupal seems to have me covered in most of those areas but there is one piece that I was hoping somebody could give me some insight on as to whether Drupal (or even another system) would be appropriate.

Basically, when users log into the site I want them to have access to files that only they can see. They would not add any files to this "virtual directory" but instead I would be putting files into the directory and they would be able to log into the site and download the files whenever they want.

How hard would this be to implement in Drupal? Apologies if this is basic functionality, like I said I found most of what I was looking for except for this one bit.

Many thanks in advance.

Comments

The bottom line is you can

The bottom line is you can use setup permissions to limit access.

The following simplistic approach assumes for each file only a single user can access it (or you download it once per virtual directory).

Uses Content Construction Kit (CCK) file field and private modules.

Create a new content type to represent a virtual directory, add a file field with multiple set to unlimited.

Only allow you (the administration) permission to create/edit virtual directories.

When adding a new virtual directory set the authoring information to reflect the user who should be able to see the files.
Mark the nodes as private so the author (the user you assigned) can only see the nodes.

To Add

--
CiviHosting - Drupal Hosting Specialists -- 100% Satisfaction Guaranteed

nobody click here