3
I have an old system in classic ASP and need to do some implementations. I have a file web.config
for this application and would like to know if it is possible to block direct access to a video URL.
For example: If the user has access to the video url and paste it into the address bar, he or she would like to block or redirect it. But if a specific system page is using this URL it should be able to access without restrictions.
I tried something like:
<rule name="assets">
<match url="^assets/videos/([a-z0-9-]*)" />
<action type="Rewrite" url="erro.asp" />
</rule>
This way you can block direct access via url. But it also blocks video uploading on other application pages.
You want to block direct access to URL, but if using Tag video then it is released?
– Guilherme Nascimento