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

前端 未结 4 618
忘了有多久
忘了有多久 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 12:47

    It is possible, but you will need to redirect users to a login page. Another option for passing username/pw is to use the web service over ssl. If you encrypt the connection, basic authentication can be used no problem.

提交回复
热议问题