Advertisement

09.04.2006 at 07:59AM PDT, ID: 21977465
[x]
Attachment Details

How can the browser user 'authentication' functionality be utilised

Asked by gem56 in PHP Scripting Language

Tags: password, username

Hi experts,
I'm not sure whether what I'm trying to achieve is possible (or reasonable) but in any case I'll explain what I'd like to do and I welcome your comments.

One of my pages has multiple 'file download' links. Some of those files can be downloaded without any authentication but for others I would like user to enter 'Username & Password'. I realize that I can create a login page  etc. however I am hoping that I won't need to do that but instead can follow the steps below:

a) user presses 'file download' link, that in turn invokes a particular PHP script
b) for downloads requiring authentication, the PHP script open a small Username & Password dialog
c) user enters and submits Username and Password and if correct, file downloading commences else 'Invalid ..." message is returned and no download is done
d) on completion of download, if user presses the same 'file download' link again they will (again) be prompted to enter Username & Password.

I suppose what I'm asking is can the browser user 'authentication' functionality be utilised?

Any thoughts.

/Michael
Start Free Trial
[+][-]09.04.2006 at 12:44PM PDT, ID: 17451502

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP Scripting Language
Tags: password, username
Sign Up Now!
Solution Provided By: MattKenefick
Participating Experts: 5
Solution Grade: A
 
 
[+][-]09.04.2006 at 04:30PM PDT, ID: 17452366

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.04.2006 at 05:41PM PDT, ID: 17452577

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.04.2006 at 05:48PM PDT, ID: 17452600

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09.04.2006 at 06:29PM PDT, ID: 17452745

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09.04.2006 at 07:47PM PDT, ID: 17453032

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.05.2006 at 01:34AM PDT, ID: 17454075

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09.05.2006 at 07:11AM PDT, ID: 17455803

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.05.2006 at 07:14AM PDT, ID: 17455829

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.05.2006 at 09:45AM PDT, ID: 17457136

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.05.2006 at 09:55AM PDT, ID: 17457215

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09.05.2006 at 10:21AM PDT, ID: 17457393

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.05.2006 at 10:32AM PDT, ID: 17457472

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.05.2006 at 10:52AM PDT, ID: 17457610

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.05.2006 at 11:22PM PDT, ID: 17461030

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.06.2006 at 12:44AM PDT, ID: 17461316

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.06.2006 at 10:01AM PDT, ID: 17464599

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.06.2006 at 12:32PM PDT, ID: 17465685

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09.07.2006 at 12:58AM PDT, ID: 17468804

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.11.2006 at 12:52AM PDT, ID: 17492354

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32