Page 1 of 1
PROTECTING UPLOADED FILES
Posted: 18 Nov 2011, 00:23
by jemcreative
I am new to phoc download and i would like to protect the files that will be uploaded in the front end. Is it possible to password protect each file that is uploaded or remove the uploads category and section from being visible in the downloads section, so when some tries to download something they wont hae access to a file that has previously been uploaded
Thanks in advance
Chris
Re: PROTECTING UPLOADED FILES
Posted: 18 Nov 2011, 00:48
by Jan
Hi, you can protect the files from e.g. public download, but there is no such specific behaviour, to protect it after first download e.g. this needs to be customized in the code.
Jan
Re: PROTECTING UPLOADED FILES
Posted: 21 Nov 2011, 21:48
by jemcreative
ok, thaqnks for the quick reply, is there a way to just remove the uploads folder from being veiwed in the downloads section
Re: PROTECTING UPLOADED FILES
Posted: 23 Nov 2011, 16:33
by Jan
Hi, sorry I don't understand which uploads folder you mean?
Re: PROTECTING UPLOADED FILES
Posted: 23 Nov 2011, 16:43
by jemcreative
ok so when i have the phocadownload componenet installed and working on the site i can upload files perfectly (client uplaods files) and i can also add files for download (admin adding files for client to download). but when i go to the downloads section as a client, i can just hit the 'back' arrow (green) it takes me to a my downloads folder and an uploads folder, this allows the client to download files which have been uploaded by other clients... i want to avoid this....
you can see what i mean here, any other questions just let me know
http://closeperkinshauta.ca/index.php?o ... &Itemid=11
Re: PROTECTING UPLOADED FILES
Posted: 23 Nov 2011, 17:07
by Jan
Hi, if you are testing it, you need to clear cache of your browser to test it correctly.
If you have no upload rights you cannot access upload. It means, if your client has no upload rights he/she cannot upload and he/she has no history as you have with your admin login and cache in your browser.
The upload is only allowed for users who have rights to do.
Re: PROTECTING UPLOADED FILES
Posted: 23 Nov 2011, 17:15
by jemcreative
I unddersatand that, i have the uplaod and d0pownload sections both set as registered and you need to log in to access it... i removed that so you would be able to see it. I dont think i am being clear...
my problem is that if a client with access priveliges UPLOADS a file called 'file A'. then another client comes along and wants to DOWNLOAD a file he can potentially access 'FILE A' by going to downloads and hitting the back arrow until he sees the 'UPLOADS' folder and he can then download files from the UPLOAD folder... I want to remove the uploads folder from the download section...
Re: PROTECTING UPLOADED FILES
Posted: 23 Nov 2011, 17:22
by Jan
Hi, you can set that uploaded file will be set as not authorized, in such case, nobody can download it until it will be not authorized e.g. by admin.
If every client has own folder he/she cannot access folder from other client
Jan
Re: PROTECTING UPLOADED FILES
Posted: 23 Nov 2011, 17:32
by jemcreative
ok, thanks, how do i set the authorization