Solved

how do you put authentication credentials in http headers

Posted on 2010-11-10
7
255 Views
Last Modified: 2012-05-10
I've searched the web and here on experts exchange but I can't seem to find this. We are setting up taking credit cards online. Our clearing house is sending back there data stream, but say they can't put a user name and password in the response url. So this is our next step. We are data base guys with very little experience in this area. Any help you guys can provide is much appreciated.
0
Comment
Question by:jeffr1970
  • 4
  • 3
7 Comments
 
LVL 6

Expert Comment

by:brb6708
ID: 34103277
why do you need username and password in header?

Is this an assynchronour process (you submit data not waiting for the answer - clearing house sends back information later and jou have to identify this information against your submit)?

Please provide more information about your data flow.
0
 

Author Comment

by:jeffr1970
ID: 34103391
The clearing house does send the response url a few minutes after the submit. The problem we are having is that all the files are secured. We were thinking if we could put the user name and password in the http header then we could authenticate with our server and get at the programs and data we need.
0
 
LVL 6

Expert Comment

by:brb6708
ID: 34103680
I supposed that. Which information dou you pass to the clearing house or is it possible, to pass an identifier that you get back from the clearing house?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:jeffr1970
ID: 34104135
We can pass an echo command with anything we want attached to it, for example echo_x=XXXXX.
0
 
LVL 6

Expert Comment

by:brb6708
ID: 34104549
so generate an encrypted key containing some unguessable information using a two way encryption method and use this as key

example

Key containing     userid=4711;accountid=ABCDE
encrypt it so it looks like      epWbVJeaoFOfoZaboQ%3D%3D

and transmit it like echo_x=epWbVJeaoFOfoZaboQ%3D%3D

when clearing house returns key

decrypt it again, check structure (userid=«value», accountid=«value»)
compare if information fits to the remaining parameters and then you can be sure, that returned info is authentic. Even if somebody knows about the structure, propper encryption ensures that values cannot be read out from the datastring.

And so you are able to process in a normal way in yout authentication process.

0
 

Author Comment

by:jeffr1970
ID: 34104756
The respone that we get back is a url that is on an unsecuried site. We will then go to a secured web folder and access ntfs secured folders. At this point we then need to send through http that this is an authenticated user.  
0
 
LVL 6

Accepted Solution

by:
brb6708 earned 500 total points
ID: 34105498
ok, seems to fit to my proposal. The echo_string can contain all information needed for that.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

863 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

28 Experts available now in Live!

Get 1:1 Help Now