The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Basic Authentication
david850124
post Sep 24 2007, 05:31 PM
Post #1





Group: Members
Posts: 1
Joined: 24-September 07
Member No.: 3,898



Hi All,
I want to use Basic Authentication to access a service ( weblogic I believe ) via cold fusion page( old version no support ), basically I want to enter the username and password automatically,without the log in screen... is this possible?. with a form and a post I can get the pop up log on screen which the browser presents, however I want to the page to supply these details, at wits end with this.
Cold fusion has some tags to allow for commications, however I would like to do it in html.
Thanks
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 26 2007, 10:56 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,673
Joined: 10-August 06
Member No.: 7



You mean you want the user to submit a password from a form on a web page, instead of waiting for the browser to display a login popup when the user tries to load a protected page?

But in my understanding of http://httpd.apache.org/docs/1.3/howto/auth.html#basicworks Basic Authentication by definition(?) means that the server sends a 401 Authentication Required header, so if you want to get rid of that header it's no longer Basic Authentication (and I guess you must get rid of the header to stop a browser from displaying its login prompt).

You can of course make your own password check in the server-side script, but this might be less secure if the password file is unencrypted.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th May 2024 - 10:04 AM