开发者

Securing a URL using a username-password

开发者 https://www.devze.com 2023-01-12 15:05 出处:网络
I am working on creating a toolbar application that will invoke a URL on the server and increase a User\'s points(as an incentive to use the toolbar). Right now the URL is a GET(I can and will change

I am working on creating a toolbar application that will invoke a URL on the server and increase a User's points(as an incentive to use the toolbar). Right now the URL is a GET(I can and will change it to POST).

The issue is, I need to ma开发者_开发百科ke sure that someone cannot, using any sort of a hack, increase the points. The URL is ofcourse a publicly accessible URL.

Will Basic HTTP Authentication make sense in this case? If yes, wont I need to store username-password with the toolbar, which again can be easily hacked?

-thanks


if I'm not mistaking Basic HTTP Authentication send the password in clear text over the network I suggest you to use Digest HTTP Authentication + TLS/SSL

0

精彩评论

暂无评论...
验证码 换一张
取 消