News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Unpublished Downloads are still visible via URL

Started by tullski, 09.12.2015 14:36:33

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tullski

Hi,

we are expierencing problems with downloads that still are viewable, although the download itself and the category is set to unpublish(see screenshot)

Via Url you can reach the file here
http://anstiftung.de/jdownloads/Publikationen/Christa_Mueller/Artikel_Mueller_Akzeptansprobleme.pdf
Is there any kind of cache running?
I cleared everything, but its still showing up.

all new
J: 3.4.5
JD: 3.2.39

Thanks
t

[gelöscht durch Administrator]
  •  

ColinM

Hi
By using a direct link to the file you are totally by-passing jDownloads and Joomla!  An absolute reference will always work unless the file no longer exists or the server file permissions do not allow read.

I assume you are linking to the file from an article or similar.  The way to do that is to use the Content plugin.  That will then access the file via jDownloads.
Maybe you also want to download directly so please see article
http://www.jdownloads.net/documentations/item/download-actions-direct-via-summary-page-or-via-download-details

If you need any assist withe the Content plugin (it has usage description in plugin) please let us know.
Colin
Colin M
  •  

Jean-Pierre

Hi,

The downloads folder should contain a .htaccess file with this content: deny from all
This prevents direct access to the files in the folder.

J.
  •  

Arno

All jDownloads folder has also by default an empty index.html file.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

ColinM

@Jean-Pierre
Thanks for the tip
I always seem to forget the use of .htaccess files! Probably because I generally find them cuimbersome to get right. But as you say it is simplicity itself by using a .htaccess  file with just  the contents
deny from all
does the trick perfectly.  It creates a 403 error.  One is of course still able to access through jD perfectly normally.

Colin
PS if  one is using a CPanel based site then it is easy to set up a 403.shtml file giving a customised error message, which could also include a button to redirect to some 'home' location
Colin M
  •  

Arno

Hi Tulski,
ich versuche es einmal auf deutsch, ist einfacher für mich:

- du selber kennst natürlich den genauen Pfad und den Dateinamen - andere können diese Info aber nicht haben, da dies beim Download nicht angezeigt wird

- versucht ein Fremder den Inhalt eines deiner Verzeichnisse anzeigen zu lassen, so erhält er nur eine leere index.html
   (versuche es selbst mit: http://anstiftung.de/jdownloads/)

- also ist es nicht möglich auf diesem Wege die Folder- und Dateinamen zu ermitteln

- zusätzlich kannst du noch die .htaccess Datei aktivieren (siehe Pic) dies ist aber nicht zwingend notwendig.

Übrigens sollte bei allen gut konfigurierten Servern die 'Options -Indexes' Option gesetzt sein. Was ebenfalls ein Directory-Listing unmöglich macht. Siehe auch: https://wiki.apache.org/httpd/DirectoryListings

[gelöscht durch Administrator]
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •