is there any way to prevent the JServer from letting users download the video files (.mp4 for example), but if it's a request from the site itself, does it let them play?
Try it online: https://www.b4x.com:51042/login_example/ Note that it is not connected to the forum database. Feel free to test it and register new users. Its only purpose is to demonstrate this solution. Login Example A typical web solution consists of several folders. In this case the...
www.b4x.com
Just put them in a folder where you can restrict access and that would be all. Now, if you just want to prevent the downloading; no, no you cant without third party libraries or software
but is there a possibility to block only the download, but allow playback on the site's video player? technically to play in the video player is not necessary to "download"?
I guess you could create a one time link to your video created after a post. so once it is server the link will no longer be valid.
Also instead of serving a static file you can use an inpustream from a source outside of the web root folder.
This is probably a browser related question although I am not 100% sure so I try to post my question here as well. When using my B4J Server, in this case as a Fileserver for scanned documents, I noted that when my pdf-document is opened in Google Chrome and I click on the download button (upper...