@rdubya152 wrote:
Hi everyone, thanks for the release of DF 2.0. It's great!
Using the local file storage service, is it possible to access files privately outside of the Dreamfactory installation folder? E.g. if my Dreamfactory installation was at '/home/ubuntu/dreamfactory' would it be possible to access folders in '/var/app/privatefolders/...' for use in the local file service? I need to be able to call the folder and return a downloadable zip using the REST API.
Also, is there a good way to access the user's ID from the user table, or do I have to run a query for it? I can access the authenticated username by $event['request']['headers']['php-auth-user'], but need the actual user ID;
Posts: 1
Participants: 1