Solved

Apache Authentication using a login form

Posted on 2008-10-27
3
323 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now