6 votes

Allow-Rendering-Prevent-Download Architecture

Fundamentally, you are trying to solve an impossible problem - there is no difference between "rendering a file in the client's browser" and "download the file". They both involve ...
Philip Kendall's user avatar
3 votes
Accepted

Is it a good idea to serve a Single Page Application as a static site?

Assuming you mean the front end only, then yes. The APIs aren't static and must be hosted accordingly. But the SPA can be hosted static. Our production SaaS in Azure has about 20 Static Web Apps (a ...
DogBoy37's user avatar
  • 219
2 votes
Accepted

Allow-Rendering-Prevent-Download Architecture

The solution is to do the rendering on the server and just send an image of the part of the file currently being viewed. This is fairly simple, but you need some sort of rendering engine for the file ...
Ewan's user avatar
  • 75.8k

Only top scored, non community-wiki answers of a minimum length are eligible