Code Monkey home page Code Monkey logo

Comments (6)

fsaris avatar fsaris commented on May 25, 2024

How do the links generated by the rte look like?

from fal_securedownload.

FireLizard avatar FireLizard commented on May 25, 2024

Version of TYPO3 is 7.6.18

BE

<ul>
  <li>
    <a href="http://localhost/typo3/web/?file:331">image</a>
  </li>
  <li>
    <a href="http://localhost/typo3/web/?file:306">pdf</a>
  </li>
</ul>

FE

<ul>
  <li>
    <a href="/typo3/web/index.php?eID=dumpFile&amp;t=f&amp;f=331&amp;token=c6ad01f92c00fc5e70d1288b44032113db4ec599" target="_blank">image</a>
  </li>
  <li>
    <a href="/typo3/web/index.php?eID=dumpFile&amp;t=f&amp;f=306&amp;token=3f29f6d609c63f0acf30263c353c2eb99b70b38d" target="_blank">pdf</a>
  </li>
</ul>

from fal_securedownload.

frans-beech-it avatar frans-beech-it commented on May 25, 2024

And you are sure file 306 is restricted? as the url looks ok.

from fal_securedownload.

FireLizard avatar FireLizard commented on May 25, 2024

Ok, I think I found it out.
It has nothing to do with the mime type (would have been quite funny)

Steps to reproduce accessible files though set group restriction:

  1. upload a new file or select one without previously set group access
  2. call webpage that's including this file (I guess it will generate the dumpFile-URL)
  3. restrict access by assigning a group
  4. as an unauthorized user it should display "Authentication required!". But it don't!

So when the file is not requested by an unauthorized user the very first time then all following requests are going to granting access.

Seems to me, that an already generated dumpFile-URL maybe is not reevaluate the current restrictions (and is cached anyway?).

from fal_securedownload.

frans-beech-it avatar frans-beech-it commented on May 25, 2024

can you try to access such a link in a different browser or with all browser cache cleared?

from fal_securedownload.

FireLizard avatar FireLizard commented on May 25, 2024

Hmm? -.- Yeah ok...
+1 for the browser cache hint ;)

Thank you!

from fal_securedownload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.