Hello, I have created a site that works with the oth authentication. I have a "media" directory that contains medias that only authenticated users should download. I have created a controller wich read the directory (through the "Folder" class) and a view that publish the file contents. Now, how can i limit the download to the authenticated users only?
Security by hiding the files is no security. If i put an .htaccess in the media directoy can stop the downloads but for everyone. And i dont want to add an extra .htaccess login mechanism. Maybe someone has already solved that problem and can point me in the right direction :-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
