Is it possible to secure a web service with Forms Authentication?

前端 未结 4 622
忘了有多久
忘了有多久 2021-01-05 12:30

We are looking to secure a bunch of ASP.Net 2.0 .asmx web services. The which will host the web services is already forms authenticated.
Is it possible to secure the

4条回答
  •  不知归路
    2021-01-05 13:07

    You should be able to use WSE to secure your service using forms authentication - though personally I've never had to do it.

    Here are some resources using WSE:

    • http://aleemkhan.wordpress.com/2007/09/18/using-wse-30-for-web-service-authentication/
    • http://msdn.microsoft.com/en-us/library/aa480575.aspx

    To not use WSE you'd need to implement something like this as some of the other presponders have alluded to, though I'm not sure how reliable it would be:

    • http://www.dotnetbips.com/articles/dbd724e9-78f0-4a05-adfb-190d151103b2.aspx

提交回复
热议问题