I'm helping a friend evaluate moving his website off of Windows/ASP to Linux/PHP. One of this functional requirements is as follows:
THere is admin functionality that allows me to set up accounts (with passwords) that users can access to upload and download files (users have no access to each others files). files should be well protected (cant download just by knowing the location/name. need some mechanism to deal with duplicate file names (current site gives uploaded files a unique name if duplicate is found ... user only sees the name he typed in though).
Can Drupal do this? If so, where can I find the documentation on how to configure Drupal to do this? Thanks for any help. -- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble
Jiann-Ming,
Yes, drupal can do this. There is a setting in the admin section that allows for 'private' downloads, in which they can't just know the path to download it. Druplicate file names are taken care of. Each file has a 'title', which can be the same, however, the actual stored name is unique. The title is automatically defaulted to the unique name, but the user can change the 'title' of the file. Hope this answer helps. Oh, and of course, drupal has user/password capability, etc.
- Souvent
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Jiann-Ming Su Sent: Thursday, December 15, 2005 12:41 PM To: support@drupal.org Subject: [support] User File Space?
I'm helping a friend evaluate moving his website off of Windows/ASP to Linux/PHP. One of this functional requirements is as follows:
THere is admin functionality that allows me to set up accounts (with passwords) that users can access to upload and download files (users have no access to each others files). files should be well protected (cant download just by knowing the location/name. need some mechanism to deal with duplicate file names (current site gives uploaded files a unique name if duplicate is found ... user only sees the name he typed in though).
Can Drupal do this? If so, where can I find the documentation on how to configure Drupal to do this? Thanks for any help. -- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble
On 12/15/05, Earnest Berry earnest.berry@gmail.com wrote:
Jiann-Ming,
Yes, drupal can do this. There is a setting in the admin section that allows for 'private' downloads, in which they can't just know the path to download it. Druplicate file names are taken care of. Each file has a 'title', which can be the same, however, the actual stored name is unique. The title is automatically defaulted to the unique name, but the user can change the 'title' of the file. Hope this answer helps. Oh, and of course, drupal has user/password capability, etc.
I'm to the point of my website development with Drupal where I need to implement user file space, where users can upload and download files, but only view files that they have permissions to. I've looked at the filemanager module (http://drupal.org/project/filemanager) and the seperate attachment module (http://drupal.org/node/10245). The filemanager module seems to be what I need. And, even though the attachment module uses it, it doesn't seem to employ the public and private file feature of the filemanager module.
I've also tried creating a flexinode and adding the "user group" attribute, but that doesn't seem to work as expected.
I also found this post (http://drupal.org/node/25623) asking the same question. Am I missing something easy with Drupal file protection?
- Souvent
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Jiann-Ming Su Sent: Thursday, December 15, 2005 12:41 PM To: support@drupal.org Subject: [support] User File Space?
I'm helping a friend evaluate moving his website off of Windows/ASP to Linux/PHP. One of this functional requirements is as follows:
THere is admin functionality that allows me to set up accounts (with passwords) that users can access to upload and download files (users have no access to each others files). files should be well protected (cant download just by knowing the location/name. need some mechanism to deal with duplicate file names (current site gives uploaded files a unique name if duplicate is found ... user only sees the name he typed in though).
Can Drupal do this? If so, where can I find the documentation on how to configure Drupal to do this? Thanks for any help. -- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble
Op maandag 06 februari 2006 01:25, schreef Jiann-Ming Su:
On 12/15/05, Earnest Berry earnest.berry@gmail.com wrote:
Jiann-Ming,
Yes, drupal can do this. There is a setting in the admin section that allows for 'private' downloads, in which they can't just know the path to download it. Druplicate file names are taken care of. Each file has a 'title', which can be the same, however, the actual stored name is unique. The title is automatically defaulted to the unique name, but the user can change the 'title' of the file. Hope this answer helps. Oh, and of course, drupal has user/password capability, etc.
Drupals core "upload module" has quota's built in. Per role.
Bèr
On 2/6/06, Bèr Kessels ber@webschuur.com wrote:
Drupals core "upload module" has quota's built in. Per role.
Please excuse my ignornace, but how are quotas related to permissions?
-- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble
Op maandag 06 februari 2006 17:13, schreef Jiann-Ming Su:
Please excuse my ignornace, but how are quotas related to permissions?
My mistake. I assumed your subject "user File Space" meant "the (disk)space a user gets for files".
It has nothing to do with it.
But you can restrict, per role, who can download files who can upload them and who cannot. Upload module will help you a little, but getting "private" files to work is not very easy.
Bèr
On 2/6/06, Bèr Kessels ber@webschuur.com wrote:
My mistake. I assumed your subject "user File Space" meant "the (disk)space a user gets for files".
It has nothing to do with it.
Sorry about that. I should have been more precise with my wording, initially.
But you can restrict, per role, who can download files who can upload them and who cannot. Upload module will help you a little, but getting "private" files to work is not very easy.
Well, since Drupal already has users and nodes/flexinodes, it seems like I should be able to restrict the access of certain nodes to specific users. The filemanager API module seems to provide this capability, but so far there's only the attachment module that uses it. But, that attachment module doesn't seem to fully use the public/private functions of the filemanager API. And, regardless of those two modules, it seems like it should be possible to do access restrictions with Drupal out of the box.
It's not a showstopper at this point, but I sort of picked Drupal with the impression that it has this capability. -- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble
On 2/7/06, Karthik narakasura@gmail.com wrote:
It's not a showstopper at this point, but I sort of picked Drupal with the impression that it has this capability.
Please open a feature request for this on drupal.org ..
Actually, what I need can be done with flexinode and the following patch:
After patching flexinode, do the following:
1. Create a new user. administer->users->add user 2. Create a new role. administer->access control->roles->Add role 3. Add that user to the new role. administer->users->edit user->Roles 4. Create a new flexinode content type that can include a file -- use the "add file" operation administer->content->content types->add content type 5. Under administer->access control check the relevant check boxes for the new flexinode vs. the new role, specifically: create "new flexinode" content edit own "new flexinode" content view uploaded "new flexinode" files
Obviously, this can be quite tedious if you have a bunch of users and roles. So, ideally, the new feature should be able to make this type of user/file access administration easier.
-- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble