I want the videos that I play on my site should only be streamed but should not be accessible to download like youtube.
If look for datasource of video in youtube video player find a url like https://www.youtube.com/4524cd9d-c4a5-4b38-92de-5fa1732e0a99
Youtube protect direct access to video url by error 404, but the same url load video in <video>
tag in youtube video player.
https://i.stack.imgur.com/GBxjP.png
How can I do it like youtube with Asp.net MVC?