how to secure POST method without using SSL?

前端 未结 5 997
一整个雨季
一整个雨季 2020-12-19 10:37

I\'m developing website where user submit credentials using ajax,php and using POST method and i want to protect login credentials not in plain text but i don\'t want to use

5条回答
  •  盖世英雄少女心
    2020-12-19 10:51

    In short .. no.

    You can try but I don't think there is a method I can imagine in javascript or any other in-browser way to secure your posted data.

    The problem is in the encryption side, doing a good strong public-private crypto in javascript doesn't sound feasible to me.

    I'm also kind of curious about the why part . .

    . . still pondering on some possible method. . will update post if something pops up.

提交回复
热议问题