Click here to Skip to main content
16,020,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I know, how to upload audio and video file on server.
Now I want that user can view and listen the audio and video file from server but user can not download it. How is this possible in ASP.Net ?

Please suggest. :)
Thanks in advance.
Rohit
Posted
Updated 27-Apr-10 19:15pm
v2

1 solution

There can be number of ways to do that. One simple way would be, you can use a hidden key known to you only might be encrypted that authenticates that the audio/video request is by code internally. Now code is allowed to read and display the same to users, but if user tried they wont be able to pass an extra hidden key along with request to download and hence they are denied.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900