php - Only allow access to a file if logged in to the CMS [SilverStripe] -


when user creates booking via website, invoice (pdf) generated , saved in assets/invoices. staff members access these download , email clients. however, @ moment if exact url known able access whether logged in or not. trying restrict access these files logged cms only. there way via permissions module?

is secure assets module after: https://github.com/silverstripe-labs/silverstripe-secureassets

with can set permission files/folders "that mirrors access restrictions of sitetree pages".


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -