Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Linking Two Web Applications.

by arturo (Vicar)
on Sep 01, 2004 at 17:07 UTC ( #387609=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Linking Two Web Applications.
in thread Linking Two Web Applications.

You'd need to have their login information for application B available to you in application A. Which means that your users would have to tell you how to log in to application B for them ... which strikes me as a thing you're unlikely to get people to do. Even if you could, that's a really bad solution. For one, can you guarantee that user "artist" on your application is the same individual as "artist" on their application?

Assuming you can't just unify the user databases and authentication mechanisms for applications A and B (this is a "single sign-on" scheme), you could to try to work something out with the maintainers of the other application that involves them trusting your application that when your application says this is user X, it really is who they'd call user X. But that seems unlikely, since (for example) you won't be able to guarantee that user names are the same across the application. Even if you found a way around that, can you guarantee that your users can't spoof their names on the other application?

Changing protocols to SOAP (assuming you can get the maintainers of B to expose those services) is a good idea in the abstract, but it doesn't solve this fundamental problem. There is no purely programmatic solution to this problem that you can implement by yourself. Well, none that's ethical, anyhow.

If not P, what? Q maybe?
"Sidney Morgenbesser"


Comment on Re^3: Linking Two Web Applications.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://387609]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-11-28 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls