Securing a remote ajax method call

前端 未结 7 1987
面向向阳花
面向向阳花 2020-12-18 14:15

I have coded some JavaScript to perform an ajax call in an asp.net application. This triggers a method that calls a URL, sending some parameters in the POST.

The rec

7条回答
  •  隐瞒了意图╮
    2020-12-18 14:30

    You should secure you're service using SSL

    Edit : I forgot the most "basic" : HTTP authentication (using login/password) I found a link but it's from 2003 : http://www-128.ibm.com/developerworks/webservices/library/ws-sec1.html

    Edit 2 : As said in comments, I think the problem here fits in the purpose of REST web services... I don't know anything about asp.net but you should look forward to REST tutorials and see the security alternatives you have from HTTP authentication to full WS-Security implementation

提交回复
热议问题