c# - Custom Security For ashx Handler -


in wcf web service have custom ashx handler. designed person can call web service , dynamic link download file.

so, iis server serving page client calls web service. generates link. link can handed client machine (i.e. running web browser) , browser can open link. link ashx handler, , result file gets downloaded.

for wcf service on using windows authentication because service not public, want allow anonymous authentication ashx handler because called number of client machines.

any ideas?

thanks.

i'd recommend moving ashx handler , file download functionality separate application root can configure anonymous access. decoupling web service file download service let 2 live on different servers, potentially solving firewall issues may encounter later if download service needs accessed externally need keep web service private.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -