Secure login with proper authentication in PHP

后端 未结 6 1242
别那么骄傲
别那么骄傲 2020-12-30 16:06

How do I write/put together a secure login in PHP? The website developer guide said I shouldn\'t roll my own, so referring to samples available via Google is useless.

<
6条回答
  •  情深已故
    2020-12-30 16:32

    My answer is "Don't do it"

    This is a very complex area, full of potential security gotcha's. If you are not an expert in this field, then you are really just asking for trouble and problems down the road.

    I would recommend looking at getting an existing solution to do. Sadly I don't know any that I would be happy to recommend, other than openid. I'm sure you will get some good suggestions here though...

提交回复
热议问题