Results 1 to 2 of 2

Thread: Protection

  1. #1
    User
    Join Date
    07-08-10.
    Location
    Madrid, Spain
    Posts
    145

    Default Protection

    Hello

    I have created a page wich is accessible to registered users.

    On this page there is a link to a document, that I want to protect. I just want logged user to download it, and reject any attempt to direct download (copy the link in a mail).

    Is there any possibility with Contao to do this ?

    Regards
    ... and Merry Christmas ...
    Eric
    Contao 2.8 -> 3.0
    Evizer Web Agency

  2. #2
    User
    Join Date
    07-08-10.
    Location
    Madrid, Spain
    Posts
    145

    Default Re: Protection

    I think that the solution would be to stream the file.

    I have found some php code that would fit but I don't know how to call it from contao.
    The idea is to create a protected page in contao which would have the parameters to access the file and would stream it.

    Can anyone could tell me how to do ?

    Thanks
    Eric
    Contao 2.8 -> 3.0
    Evizer Web Agency

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •