Redirect a request to /.well-known/change-password to UrlEl URL (Localizador Uniforme de Recursos), es una dirección definida que apunta a la posición de un archivo en un servidor y lo recupera. Las URL se introducen en un navegador web para ingresar a documentos en la web o se incrustan como hipervínculos dentro de un documento. Se puede usar un Permalink para que una URL esté disponible de forma permanente. Componentes de una URL • prefijo de protocolo plus de cambio de contraseña

Establecer una redirectUn redirect (abreviatura de redirección) es un reenvío automático del lado del servidor o del cliente de una URL a otra. Las redirecciones se usan para múltiples fines, como la reubicación de un portal web en un nuevo dominio o el mantenimiento de un servidor. Con un 301-redirect, el contenido duplicado puede, por ejemplo, ser evitado. Antecedentes Una redirección suele ser siempre automática y apenas percibida por el usuario. Sobre plus since /.well-known/change-password to the password change page of your website. This will allow password managers to navigate their users directly to that page.

Introduction

How could you know passwords are not the best way to manage accounts. Fortunately, there are emerging technologies such as
WebAuthn and techniques such as one-time passwords that help us approach a world without passwords. However, these technologies are still being developed and things will not change quickly. Many developers will still need to deal with passwords for at least the next few years. While we wait for emerging technologies and techniques to become commonplace, we can at least make passwords easier to use.

A good way to do this is to better support password managers.

How Password Managers Help

Los administradores de contraseñas pueden integrarse en los browsersConcepto de Navegadores¿Qué son los Navegadores?Los Navegadores son herramientas informáticas que utilizamos para, normalmente, navegar por Internet y visitar cualquier página web, al mismo tiempo de para hacer otras tareas como ver documentos, observar vídeos o reproducir contenido multimedia de cualquier tipo. Son un tipo de software sencillamente usual y bastante utilizado hoy en día.Insistimos en que es algo que se utiliza con mucha frecuencia, puesto que moverse por Internet plus o proporcionarse como aplicaciones de terceros. Pueden ayudar a los usuarios de varias formas:

Autocomplete password for correct input field: Algunos navegadores pueden encontrar la entrada correcta de forma heurística incluso si el sitio web no está optimizado para este propósito. Los desarrolladores web pueden ayudar a los administradores de contraseñas anotando correctamente las etiquetas de entrada HTMLHTML (Hypertext Markup Language) se usa para estructurar el contenido de texto de un documento web. No sólo se marca el contenido, sino además la meta-información que describe este contenido. Las páginas HTML se almacenan normalmente en el directorio raíz del servidor. Cómo se creó En la era digital, a los usuarios les resulta difícil hallar su camino en las webs y hacer un seguimiento de las estructuras de las plus.

Prevenir el phishingEl phishing es un método por medio de el cual se obtiene información personal de un usuario por medio de de sitios web ficticios, email u otros mensajes. Esta información se usa principalmente con fines ilegales. El término se deriva de la palabra "pesca" y se refiere al cebo y a la pesca con fines informativos. Principio Los phishers crean sitios web de aspecto auténtico para incrementar la confianza del plus: Because password managers remember where the password was recorded, the password can be autofilled only at the appropriate URLs and not on phishing websites.

Generate strong and unique passwords: Because the password manager directly generates and stores strong and unique passwords, users do not have to remember a single character of the password.

Generating and auto-filling passwords with a password manager has already worked well on the web, but considering its lifecycle, updating passwords whenever necessary is just as important as generating and auto-filling. To take advantage of that properly, password managers are adding a new feature:

Detect vulnerable passwords and suggest updating themPassword managers can detect passwords that are reused, analyze passwords for entropy and weakness, and even detect potentially leaked passwords or those that are known to be unsafe from sources such as They have cheated me?.

A password manager can warn users about problematic passwords, but there is a lot of friction in asking users to navigate from the home page to a password change page, in addition to going through the actual password change process (which varies from site to site). . It would be much easier if password managers could take the user directly to the password change URL. This is where a well-known URL to change passwords it becomes useful.

By reserving a known URL path that redirects the user to the password change page, the website can easily redirect users to the right place to change their passwords.

Configure "a known URL to change passwords"

.well-known / change-password it is proposed as a well-known URL to change passwords. Todo lo que tiene que hacer es configurar su serverLos servidores son ordenadores centrales y potentes dentro del campo de la tecnología de la información que procesan y proporcionan software y archivos en una red. Desde el punto de vista de un cliente, varios ordenadores en una red pueden ponerse en contacto con el servidor central para conseguir la información solicitada. En la arquitectura cliente-servidor, el servidor puede ser un software que proporciona un servicio y se ejecuta en plus para redirigir las solicitudes de .well-known / change-password
to your website's password change URL.

For example, let's say your website is httpsHTTPS (protocolo de Transferencia de Hiper-Texto) es un protocolo que permite determinar una conexión segura entre el servidor y el cliente, que no puede ser interceptada por personas no autorizadas. En resumidas cuentas, es la versión segura de el http (Hyper Text Transfer Protocol) Cómo funciona Una conexión HTTP estándar en Internet puede ser fácilmente secuestrada por partes no autorizadas. El propósito de una conexión HTTPS es evitar esto: encriptar plus://example.com and the password change url is https://example.com/settings/password. You will only need to configure your server to redirect a request for
https://example.com/.well-known/change-password to
https://example.com/settings/password. That's it. For redirection, use HTTP status code
302 Found, 303 See Other or 307 Temporary Redirect.

Alternatively, you can serve HTML in your .well-known / change-password URL with a label using a
http-equiv = "refresh".

<meta http-equiv="refresh" content="0;url=https://example.com/settings/password">

Re-visit the password change page HTML

The target¿Qué es un objetivo?En marketing, un objetivo es el resultado que se pretende alcanzar en un periodo de tiempo, a través el uso de los recursos disponibles. Por tanto, se debe formular de una forma clara y hace falta que sea accesible y medible. plus de esta función es ayudar a que el ciclo de vida de la contraseña del usuario sea más fluido. Puede hacer dos cosas para que el usuario pueda actualizar su contraseña sin problemas:

  • If your password change form requires the current password, add
    autocomplete = "current-password" to the label to help the password manager to fill it in automatically.
  • For the new password field (in many cases it is two fields to ensure that the user entered the new password correctly), add
    autocomplete = "new-password" to the label to help the password manager suggest a generated password.

Learn more at Best Practices for the Login Form.

How to use it in the real world

Examples

Thanks to Apple Safari
implementation,
/.well-known/change-password, is already available on some major websites for a while:

Try them for yourself and do the same for yours.

Compatibilidad del browserUn navegador (además: browser) es una herramienta informática que te permite ver documentos y datos y navegar por la red. Los navegadores pueden mostrar distintos tipos de recursos de información; principalmente documentos HTML, a pesar de todo, además son posibles otros tipos de archivos y contenido multimedia, como PDF, JPEG, MPEG, GIF o el lenguaje de meta marcado. A través el uso de complementos especiales y la configuración respectivo, los plus

A well-known URL has been created to change passwords. supported in Safari since 2019. Chrome's password manager is starting to support it as of version 86 (which is scheduled for a stable release in late October 2020) and other Chromium-based browsers may follow. Firefox finds it worth implementing, but has not indicated that it plans to do so from August 2020.

Chrome password manager behavior

Let's take a look at how Chrome's password manager handles vulnerable passwords.

Chrome's password manager can search for leaked passwords. Navigating to chrome://settings/passwords users can run Check passwords against stored passwords and view a list of passwords that are recommended to update.

check-passwords-1659143

Chrome Check passwords functionality

By clicking on the Change password together with a password that is recommended to update, the browser:

  • Open the website password change page if /.well-known/change-password is configured correctly.
  • Open the website home page if /.well-known/change-password it is not configured and Google does not know the alternative.

Password managers try to determine if a website supports a known URL for changing passwords by sending a request to /.well-known/change-password before forwarding a user to this URL. If the request returns 404 Not Found
the url is obviously not available, but a 200 OK The answer does not necessarily mean that the URL is available, because there are some extreme cases:

  • Un sitio web de representación del lado del servidor muestra «No encontrado» cuando no hay contentsEl contenido puede ser muy difícil de definir con precisión. Es una definición que se refiere a las declaraciones contenidas en un documento o publicación de cualquier tipo y puede incluir las tecnologías de la información y la comunicación. Esto cubre todos los tipos de medios como imágenes y texto. A parte de esto, en el campo de la optimización de motores de búsqueda, los términos duplicar contenido, contenido único, plus pero con 200 OK.
  • A server-side rendering website responds with 200 OK when there is no content after redirecting to "Not Found" page.
  • A single page application responds with the shell with 200 OK and displays the "Not Found" page on the client side when there is no content.

For these extreme cases, users will be redirected to a "Not Found" page and that will be a source of confusion.

Because of that there are a proposed standard mechanism
to determine if the server is configured to respond with 404 Not Found
when there really is no content, requesting a random page. In fact, the URL is also reserved:
/.well-known/resource-that-should-not-exist-whose-status-code-should-not-be-200. Chrome, for example, uses this URL path to determine if it can expect a proper password change URL from /.well-known/change-password in advance.

When you are deploying /.well-known/change-password, make sure your server returns 404 Not Found for any non-existent content.

Feedback

If you have any comments on the specification, please submit a problem to the spec repository.

Means

Photo by Matthew brodeur in Unsplash