Skip to main content

Home/ Drupal for Developers/ Group items tagged download

Rss Feed Group items tagged

Daniel Gregoire

Restrict specific folders from public download (via .htaccess) | drupal.org - 0 views

  • If you set "public" as the download method, you can still protect some of your folders by settings in your .htaccess file, if you have mod_rewrite enabled. For instance, if your files live in sites/default/files, and you want to protect everything in sites/default/files/protected_download_dir, then you can add the following line to your central .htaccess file: RewriteRule ^sites\/default\/files\/(protected_download_dir\/.*)$ index.php?q=system/files/$1 The files in this folder (or, all files that match the regular expression) will not be served directly by apache, but by a full drupal request using the file_download() callback. The routing for system/files is defined in system_menu(). Access Checking for File Downloads Modules can do access checking on files downloaded through file_download(), by implementing hook_file_download(). For instance, the filefield module will do access checking for all files that you upload via filefield. It will only give access to people who are allowed to see the node and the field the file belongs to. In addition, you can look for modules that restrict file downloads based on the folder name or other criteria. Access Checking built-in with Filefield The filefield module has access checking built-in. To make use of this, please Make sure to use the latest dev version of filefield (for now). The current offical release (08/2009) has a bug in access checking. Have a look into filefield issue 516104. Configure the filefield you want to protect. Use the filefield path module, to define where the files for the filefield should be stored by default. Add a line to your .htaccess to protect this folder (see above). Use whatever modules to restrict node or field access.
Hendy Irawan

Social Networking in Drupal: my SouthEast LinuxFest Drupal Day presentation | Isaac Sukin - 0 views

  •  
    " * I gave a presentation on Social Networking at DrupalCamp South Carolina on June 13th, 2010 (hosted by the SouthEast LinuxFest). Here are the slides I presented (complete with my notes on them) in various formats, as well as a link to the demo site (feel free to play around) and the downloadable Feature I exported based on the demo site. Demo site: http://sndemo.dev3.webenabled.net/ Feature: http://community.featureservers.org/project/self-social-network (also attached) View slides online: http://www.slideshare.net/mediacurrent/social-networking-in-drupal-isaac... If you want to download the slides, I recommend the PPTX. Finally, thanks to Mediacurrent and Doug Vann for making it possible for me to give this presentation."
Hendy Irawan

Project usage overview | drupal.org - 0 views

  •  
    This page summarizes the usage of all projects on drupal.org. For each week beginning on the given date the figures show the number of sites that reported they are using (any version of) the project. Detailed usage information for each release of a project is available by clicking the project name. These statistics are incomplete; only Drupal websites using the Update Status module are included in the data. As this module is now included with the download of Drupal since version 6.x, the data is heavily biased toward newer sites. Read more information about how these statistics are calculated.
Daniel Gregoire

Drush Make and PressFlow | Lullabot - 4 views

  •  
    "Drush make" in the spirit of *nix 'make' command, allows developers to create make files that will automatically download project files (Drupal.org and external).
john sega

Online Threats and Dangers - 2 views

I downloaded an audio file from an unpopular website, when I opened it my computer crashed and since then, I have troubles turning it on because it would no longer display the correct desktop setti...

Desktop Computer Support

started by john sega on 07 Jun 11 no follow-up yet
1 - 10 of 10
Showing 20 items per page