Best practices for login pages?

前端 未结 12 1966
后悔当初
后悔当初 2021-01-31 19:30

I am working on a single sign-on login page using Shibboleth that will be used for a variety of web applications. Obviously we would like to make this page as secure and usable

12条回答
  •  孤街浪徒
    2021-01-31 20:22

    Think like a user as well as a security guard: if you make them do a captcha every time to login, they're going to get pretty sick of it.

    If you're trying to prevent Denial of Service, then maybe make a captcha appear only after there are enough (failed?) login attempts in a certain time period.

    Consider using NTLM, OpenID, or Shibboleth to make login as automatic as possible for most users.

    Don't make people go to a separate page to register. Presumably you will have username and password fields, and a login/submit button. Just add a "register as new user" button as well, so that new users can use the existing username/password fields. If you need to collect additional details for new users, popup a form (using DHTML, not a popup window) to collect them.

提交回复
热议问题