External acess to userupload folder

Phoca Download - download manager
ricardomp
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 10 Mar 2012, 00:56

External acess to userupload folder

Post by ricardomp »

Hello,

First of all, congratulations on a great work with this extension.
I recently started using it for a university class web which inludes a document storage and sharing area. Works just fine.

Registration is limited and there are some internal documents which are not to be acessible except for some users. Downloads only visible/acessible to registered users, upload and delete only to a few of those (managers). That part I figured out but there's still the possibility of direct folder/file acess by an external direct link safety (which could be easily figured out if you find the installed folder structure). So, I passed the general folder to a non-public server folder. That worked. There I can upload most of the files by ftp and use multiadd. That solved most of it but one doubt came up.
User-uploaded files are stored in another folder, inside the phocadownload folder (both can be changed in options/config) but are these always in the public section? Or can that be changed to the non-public area with absolute path as well?
Having FTP layer should allow users to write in the non-public section trough joomla right?

Is there another way to do this or can we just assume that the user-specific folder which is created "enconded" within the userupload folder is enough to make cracking the strucuture a chalenge?

Thanks,

Ricardo M.
ricardomp
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 10 Mar 2012, 00:56

Re: External acess to userupload folder

Post by ricardomp »

Ok, been working on this and found that I had missed how the folder structure works.
New files uploaded as user are passed into a new userupload folder within the private area, defined as root for PD. Fine.

So that's solved but I came up with another issue. I uploaded several folders/files by FTP but I can't get multiadd function to open those folders. I can add them, but the subfolders are passed on as subcategories which changes my file scheme.
However I can enter and navigate within the new userupload folder and subfolders one by one.
I suspect it has to do with folder ownership rights and I'm missing something?

Any toughts?

Ricardo M.
ricardomp
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 10 Mar 2012, 00:56

Re: External acess to userupload folder

Post by ricardomp »

Ok, solved this on my own... :D
It had to do with the folder names, I didn't notice I was using blank spaces. :x

Ricardo M.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48595
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: External acess to userupload folder

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
ricardomp
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 10 Mar 2012, 00:56

Re: External acess to userupload folder

Post by ricardomp »

Hi Jan,

Just to let you know it's working great.
I've been updating language details to pt-PT, so if you want let me know what you would need to do a language pack and I'll work on that.

Ricardo m.
Post Reply