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

TOPIC: Protect uploads folder from access

Protect uploads folder from access 11 years 3 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 11 years 3 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: 11 years 3 months ago by Paz.
The administrator has disabled public write access.

Protect uploads folder from access 11 years 3 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 11 years 3 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 11 years 2 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: 11 years 2 months ago by monkeyman.
The administrator has disabled public write access.

Protect uploads folder from access 11 years 2 months ago #1439

  • admin
  • admin's Avatar
Hi Mopnkeyman,

Happy new year!

Regarind the problem, please make a file called .htaccess in the uploads folder

It's content should be:
deny from all

Are you using the default folder or not?

I will check on the installation package this evening and issue update if necessery. I will also make sure when the folder is changed, a new .htaccess file is created.

Thanks for you valuable comment on this!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.050 seconds