Best ashx request authentication practice

I have a Silverlight application from which I have to call an ASHX file, something like this GetFile.ashx? orderId = 4

The problem is that I want to allow this call only through the application, and therefore I was thinking about using some kind of authentication (sending username + pass from silverlight) when calling the ashx file. I do not want to add them to the query string. Any other suggestions?

thank

+3
source share
1 answer

The simple answer is to enable ASP.Net authorization by any means appropriate for you.

AuthenticationService Silverlight ASP.Net, CurrentUser HttpContext , .

, MSDN

+1

All Articles