开发者

Most secure way to validate a user

If a user's id is in the session, it seems all I can do to validate th开发者_Python百科ings, is make sure that this is the user id I should be using for my transactions. The only checks I can make are that it is numeric value.

Is there extra secure techniques that can be done to ensure that the user in the session is the the system thinks it is?


so you're talking about some anti session hi jacking measures? a basic one could be storing the ip of the user when they log in. although this won't work if the session hi jacker is on the same network. here is some more info on another way:

What is the best way to prevent session hijacking?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜