Access to video file

S

Scottmat

Hello,

How do I control (allow / deny) access to files such as videos. It seems
that can be used httphandler but I can not!
Someone would have an idea or a concrete example of code ?

Thank you
 
D

Dominick Baier

Video files are treated as static files by IIS and their request don't enter
the asp.net runtime. You can map the video file extension to the aspnet isapi
dll in the IIS application configuration. Just have a look at how .aspx is
mapped.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top