Page 1 of 1

authenticate URL without being asked from user.

Posted: Wed Dec 29, 2004 11:22 pm
by renu
hello

i want to authenticate header(URL).now when url to be authenticated is entered in addressbar and clicked then a pop up menu appears asking for username and password.
But wht i want is that username and password is being filled from databse whithout user interaction.

in brief i want aunthetication to be done without user's interaction.username and password for a particular url are stored in database.
I think i'm clear now.

Thanks

renu

Posted: Wed Dec 29, 2004 11:31 pm
by d3ad1ysp0rk
Sorry, you probably are being clear, but I'm just not getting it.

Are you saying you want to auto login someone?
Do you want to keep someone logged in no matter what page they're visiting?
Do you want to disable logins all together?

Posted: Wed Dec 29, 2004 11:47 pm
by renu
hey not disable logins.but that process will be in background.
i mean when user enter the url then it should be check tht whether password exists for tht url in database
and if that exists then that url is authenticated.

now wht happening is tht when user enter url then popup menu asking for password appears and then user enters password here.but i dont want to display tht popup menu.

am i clear now?

Posted: Thu Dec 30, 2004 12:06 am
by feyd
I think renu's talking about http auth popups... and logging in through the url of this example: http://username:password@hostname/path?arg=value#anchor
I call pretty insecure.

Posted: Thu Dec 30, 2004 12:22 am
by renu
ya feyd u got me right.Do u have solution for tht

Posted: Thu Dec 30, 2004 12:35 am
by feyd
the url I posted is how you login to an http auth system without seeing the username/password popup (unless they are bad)

Posted: Thu Dec 30, 2004 1:19 am
by renu
i tried this but this didnt work,it then shows page cant be displayed

Posted: Thu Dec 30, 2004 8:48 am
by feyd
post an example of what you tried.

solved

Posted: Fri Dec 31, 2004 4:31 am
by renu
hi
i have solved my problem by using function curl.i have passed username/password thru curl function..