Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6703113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:08:00+00:00 2026-05-26T07:08:00+00:00

I want to password protect my page which I am doing using LDAP bind

  • 0

I want to password protect my page which I am doing using LDAP bind authentication. That whole process and script is fine. Now I have this form which submits to that script and that script checks whether the user has authentication or not, if they don’t it kicks them out.

What I am trying to do here is this. http://jsfiddle.net/s5JyR/ that form I have there, I would like to make that a popup login instead so as soon as a user goes to the url of the site they get a blank page with a POPUP screen asking for the login. How can I do make that popup? if the user clicks cancel it should display Error. Access denied. Or if the user inputs the wrong login credentials display that same error message. The error messages don’t need to be a popup, they can be displayed on a different blank page. All the forms I have looked around Google have a popup from a button which isn’t what I want..

I am trying to make something like this:

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:08:00+00:00Added an answer on May 26, 2026 at 7:08 am

    In Javascript you can do that by opening a new Window with the window.open() method, opening an URL with the form and then capturing its information from outside. But that might fail in platforms not supporting it.

    Another method can be showing the form in a floating box, but it is still Javascript dependant.

    Maybe what you actually want is an HTTP login form, it is not Javascript but it does exactly what you ask for. Though you will have to handle everything server-side.

    Take a look at HTTP Authentication with PHP to learn about this.
    …Assuming that you have PHP for server side scripting, if not, it is still a good reference that you can not-so-differently implement in other languages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to protect my Java product by using some USB-based authentication and password
I have a page within wordpress that I want to password protect via a
i am using the following password code http://www.zubrag.com/scripts/password-protect.php it is working fine but when
I want to check password strength of password entered by user in Asp.Net page.
Hai I want to protect a folder (protect) and the files inside that folder.
I want to password protect a webpage in Wicket so the user may only
Is it possible to password protect a page without db access? I may have
Is there a way to disable or password-protect the search page hosted on a
I've created a compressed tar file, abc.gz. I want to password protect the abc.gz
I have set up a dev site and want to password protect it so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.