Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Protect uploads folder from access

Protect uploads folder from access 10 years 5 months ago #1371

  • Paz
  • Paz's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Greetings,

I read the faq and looked for instructions on this with no luck.

I want to make use of .htaccess to ensure that access to files is not allowed unless it comes from the link from the component with the encoded transaction ID.

Where are the instructions on how to do this please?

Thank you kindly,
paz
The administrator has disabled public write access.

Protect uploads folder from access 10 years 5 months ago #1372

  • admin
  • admin's Avatar
Dear Paz,

Upon installation the extension adds a .htaccess with content

deny from all

to the uploads folder to ensure no one is able to directly access the files. Is that file missing on your website?

Thanks!
The administrator has disabled public write access.

Protect uploads folder from access 10 years 5 months ago #1373

  • Paz
  • Paz's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Thanks for the quick response. No that file was not there, but i have created it now.

So do I assume that your download script will somehow include the file rather than use URI access to the file? That sounds pretty good.

One question then. Can I move this folder outside of my webroot then? PHP should have access anywhere through include, so I could place this elsewhere in my home directory.

Thank you
p.
Last Edit: 10 years 5 months ago by Paz.
The administrator has disabled public write access.

Protect uploads folder from access 10 years 5 months ago #1374

  • admin
  • admin's Avatar
Hi Paz,

Yes of course, it's never using real path to file. You don't have to worry about anything now I am pretty sure :)

Thanks!
The administrator has disabled public write access.

Protect uploads folder from access 10 years 5 months ago #1375

  • Paz
  • Paz's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
thanks!
The administrator has disabled public write access.

Protect uploads folder from access 10 years 4 months ago #1438

  • monkeyman
  • monkeyman's Avatar
  • Offline
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
  • Karma: 1
I'm experiencing the same problem - folder is fully accessible from outside and no htaccess. Moreover, I looked into distribution archive and there're only 2 lines concerning this in admin/class.php file:

$htaccess = @array_search(".htaccess", $files);
unset($files[$htaccess]);

So there's only a check out there, but nothing's being created on install.

Can you give us instructions on how to make uploads folder accessible only from com_quicksell component?
Last Edit: 10 years 4 months ago by monkeyman.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.047 seconds