Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5983565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:14:56+00:00 2026-05-22T22:14:56+00:00

What i need is a module to give private folders (only the owner can

  • 0

What i need is a module to give private folders (only the owner can access the content, as the user_files module but with the create and change directory) and public (per role) access (only the members of a certain role can access the folder). It would be great to have a file explorer module that handles this.

Do you know any similar module? Thanks in advance.
c.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:14:57+00:00Added an answer on May 22, 2026 at 10:14 pm

    I had similar requirements but I implemented my own module.
    First of all, there are several ways you can have private files. You must either set all your files private so they go through the Drupal bootstrap or configure the individual folders where there is access restriction to go through the Drupal bootstrap. There are several tutorials if you Google it:
    http://www.google.es/search?q=drupal+public+private+files

    Myself I added a .htaccess

    RewriteEngine on
    RewriteBase /path/to/my/private/directory
    RewriteRule ^(.*)$ $1 [L,R=301]
    

    Then you can just implement HOOK_file_download($filepath) in your custom module.

    http://api.drupal.org/api/drupal/developer–hooks–core.php/function/hook_file_download/6

    Also, check this nice tutorial:

    http://www.drupalcoder.com/blog/mixing-private-and-public-downloads-in-drupal-6

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My current thinking: I need a certain module that will let me access the
I need some help modifying the Webform Module so that it can work for
Is there a module out there that can give me links to all the
I am working on one joomla(2.5.1) site and i need one module for one
Need assistance with the pexpect module I have written a simple code which would
I need to write a module that gives me a page will all possible
I need to write a module that sends order data to an epayment service,
I need some like this: module One def test; puts 'Test One'; end end
I need to throw 404 error in module. Or may be there are any
I need to define the constant in the module that use the method from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.