I am using Drupal version 4.6.0
I have search this entire site for hours looking for a SIMPLE solution to create either a "download block", "download menu" or a "download page" that is only available to authenticated users. All I want to do is simply make my file downloads only available to authenticated users Logged on users).
I have seen many different techniques used to accomplish this, but they all seem to involve php programming or setting up a download block using php code.
I am not a php programmer, therefore I don't understand these techniques. I just need a simple block, menu, or page with the following information:
HTML format:
------------
<b>Choose your download format</b><br>
File 1: <A HREF="http://www.domain.com/cgi-bin/download.cgi?site=1&filename=file1.exe">file1.exe</A> (6.4 MB)<br>
File 2: <A HREF="http://www.domain.com/cgi-bin/download.cgi?site=1&filename=file2.zip">file2.zip</A> (6.0 MB) [the zip file contains the same exe file as above]
Text format:
-----------
Choose your download format
File 1: file1.exe (6.4 MB)
File 2: file2.zip (6.0 MB) [the zip file contains the same exe file as above]
Does anyone know of a SIMPLE solution and what I need to EXACTLY do to implement it?
Thanks in advance,
Sam
Comments
Hummmm....
Hi,
Add a new content/page with your HTML code.
Next go to "Administer", "Access Control" in "Node Module" uncheck "access content" for anonymous users
Simply but for Menu and block i don't think it's implemented yet or i don't know how you can do that.
Cedpetite (french user of Drupal :)
That is a global solution but.....
Cedpetite:
I know the method you stated does work, but it is a "global setting" and it turns off access to "all" node pages. I just want to turn off access to one single page.
Thanks anyways for your help,
Sam
Anybody else have any ideas for solving this problem? See the main post titled" How do I create a download block, menu, or page that is only available to authenticated users ?"
3 modules
Node Privacy by Role, Taxonomy Access and Organic Groups provide ways to provide access to given nodes only to certain roles or users.
.:| Laura • pingV |:.
_____ ____ ___ __ _ _
Laura Scott :: design » blog » tweet
Thanks Laura
Thanks Laura
I used the Node Privacy byRole module, the simplest method so far, to deny access to a specific node page. I then created a custom 403 error page to replace the Default 403 (access denied) page under administer >> settings.
Seems to work so far. If I find any unusual affects with this method, I will post them to the Forum.
Implemented on Drupal 4.6.0
Sam