asp.net - How to secure a file from anonymous and autenticated user in C# -


i want build media library system don't know how go securing files body want hack system.i don't want user use 1 particular link access files, want user can buy media have access particular file.if 1 "friend" access it, , give file url unauthorized person friend should not able access it.

for example, if have following link, how go make person not have access it.

https://a4.sphotos.ak.fbcdn.net/hphotos-ak-ash4/296040_2530953916384_1329592446_32898884_1499197273_n.jpg 

i know how can go implementing in asp.net mvc.

follow following [link] (http://www.wrox.com/wileycda/section/id-291916.html) that. im sured helps.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -