Not 100% sure if this is the correct forum but I have the following question.
If I am storing uploaded videos in a folder how do I secure the videos. I need to do two things.
Firstly users should only be able to view videos that they have been assigned to. This is done by having an asp.net page the displays the video. This requires that users have authorisation to the video directory via the web.config.
Secondly ensure users can not navigate directly to the video. EG. www.website.com/uploads/video1.mp4. Because users have authorisation to the video directory than can simply bypass the video displaying web page and navigate to the video. This is a security risk as we do not want user of company a seeing a video by user of company c.
Is there a way is IIS to stop users navigating directly to specific resources in this case a video.
Any help to achieve this would be much appreciated.
1. Make sure that users can not navigate to the video. EG go to
1. Ensure only authenticated and authorized users have access to the video.