[Plugin: User Access Manager] PHP getfile() not retrieving documents
-
Hi
A client of ours is using the User Access Manager plugin on their corporate site and so far it has been fantastic. However, I have noticed a problem with linked documents where instead of ‘yourdomain.com/wp-content/uploads/something.whatever’ the URL is changed to ‘yourdomain.com?getfile=123’. I understand that this is done in order to apply an HTACCESS restriction to the file request so that unauthorised users may not download the file. However, I believe this requires the PHP fopen() function to do its job, which in turn requires safe mode to be turned off. Unfortunately, we cannot disable safe mode on our servers for security reasons and so clicking on a link which passes a ‘getfile’ query string fails to retrieve the file.
I was wondering if any PHP gurus know of an alternate way of implementing this functionality so that the files are still restricted by HTACCESS but do not require safe mode to be turned off in order to access them?
Thanks!
Chris
- The topic ‘[Plugin: User Access Manager] PHP getfile() not retrieving documents’ is closed to new replies.