Solved

Apache Authentication using a login form

Posted on 2008-10-27
3
330 Views
Last Modified: 2012-08-14
Hi,
A client has setup a website that has restricted zones based on apache authentication. The type where a browser login box pops up when a user tries to browse to a restricted page/directory.

Is it possible to set this up so it uses a Login form rather the the browser dialogue?
If so how?

Regards
Mitch
0
Comment
Question by:SM17CH
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Author Comment

by:SM17CH
ID: 22818993
Ive found this: http://httpd.apache.org/docs/trunk/mod/mod_auth_form.html
Is it the best option?
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 250 total points
ID: 22825011
it's not that bad :)
But IIRC it's a server solution and your application has no or only limited access to the login data.
0
 
LVL 1

Assisted Solution

by:frandshansen
frandshansen earned 250 total points
ID: 22845028
Is the "apache authentication" made with .htaccess or with some webscript querying for the username/password using a browser dialogue?

If the first thing is the case, every user is shown the same content when they log in, and the only good way of making it different is coding some PHP script to take care of it.

If you are using the other way, well then it should be pretty easy to change the code to being a <form> instead of a browser dialogue.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question