I would like to open PDF file inside my Django application, something like file:///...
I know that a lot of posts state that this should not be done because security reason, and that google block this calls with error. link.
But, I know that:
- I saw this behaviour so, I know it can be done somehow
- I don't have security risk, because application is internal, not connected to the internet (available over lan)
- Protocol file:/// wouldn't exist if there wouldn't be a way to use it.
I also read somewhere that you need to put file in 'public' if you would like to access it via this method. Do anyone know how to do this?