How can I prevent/make it hard to download my flash video?

后端 未结 9 1800
执笔经年
执笔经年 2020-12-05 21:45

I want to at least prevent normal users to download my flash video.

What\'s the best way to do it?

Create a httphandler, add a token (e.g. timeid), set the c

9条回答
  •  无人及你
    2020-12-05 22:18

    It sounds like you need to add authorization and authentication.

    You could put the flash video under a different folder in your ASP.Net application and add a web.config file in that folder to deny access to unauthorized users. For example:

    Then you need to enable authentication for your website. The simplest method is forms authentication. A trivial example with hard coded username and password is provided here.

    There is loads that you can do with the authentication framework in ASP.Net I suggest googling a bit.

提交回复
热议问题