Manage file access (Downloading) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Manage file access (Downloading) (/showthread.php?tid=1037) |
Manage file access (Downloading) - Hamed - 02-07-2015 Hello, I want to manage file download access. User can not download files directly and I handle them with a url like http://simple.com/dl/1 if he/she has permission to download then download process start. How can I do this job. RE: Manage file access (Downloading) - Rufnex - 02-07-2015 You can use the CI download helper and your own logic for the rights to the user: http://www.codeigniter.com/userguide3/helpers/download_helper.html |