Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

187
Vistas
alternative to user:password@

I'm having a html page “menu.html” which allows users to open different other html pages based on their profile and rights via simple button clicks. In menu.html, User ID and password is checked via Ajax/PHP. In PHP .htpasswd is adapted with the user ID and session ID (or password) accordingly to remain secure. User ID and session ID (or password) are returned to javascript.
Today the redirections within menu.html finds place via window.open as follows:

window.open("https://"+user-id+":"+session-password+"@xyz.be/example1.html)

It all works fine. Menu.html is handling the security aspects of many other HTML files.

Unfortunately including credentials in the url (user-id+":"+session-password@) is now depreciated.

What is the best way to redirect to a HTML page while providing the credentials? All finds place on the same server.

Many thx Pierre

about 4 years ago · Santiago Gelvez
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda