Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

comunication between 2 WebApplications with Webservices

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael R. - 22 Feb 2005 12:05 GMT
Hello,

First sorry for my english! ;)

I want to communicate between 2 Webapplications!

In the first Application I logged on! Now I want to pass throw the
user to the other Application! I want use Webapplications, but i don't
know how!

I hope someone of you can help me!

nice day!

Mike
Steve Lutz - 23 Feb 2005 01:16 GMT
Hi Michael,
Is the user going to be using the 2 webapplications in their browser, or is
the first application the only ones that they see in their browser?

For my answer, I'm going to assume that the user is connecting to one site,
and then being sent to another site, correct? And at the second site, you
want to use the same authentication that the user provided on the first
site, correct?

If both sites are at the same domain, then you could use cookies to transfer
the data.
Example:
1) User goes to www.mysite.com
2) User then logs into this site: at that time a domain cookie is given to
the user.
3) User is then redirected to site2.mysite.com
4) site2 can read the domain cookie that www.mysite.com placed in the user's
browser.

Depending on the level of security you need, you may want to encode or
encrypt this cookie as well.

HTH

Steve

> Hello,
>
[quoted text clipped - 11 lines]
>
> Mike
Michael R. - 23 Feb 2005 06:33 GMT
Hello,

No these 2 webapplikations are on diffrent domains! Its a kind of
portal, where you logged on, and get the authentification for all
Webapplikations where you have rights! Now you have a choice, witch
application you want to start.

Problem with Cookies .... only valid for the same domain! And Session
variable only valid for one .net webapplication.

nice day!

Mike

-------------------------------------------------------------------------

Hi Michael,
Is the user going to be using the 2 webapplications in their browser,
or is
the first application the only ones that they see in their browser?

For my answer, I'm going to assume that the user is connecting to one
site,
and then being sent to another site, correct? And at the second site,
you
want to use the same authentication that the user provided on the
first
site, correct?

If both sites are at the same domain, then you could use cookies to
transfer
the data.
Example:
1) User goes to www.mysite.com
2) User then logs into this site: at that time a domain cookie is
given to
the user.
3) User is then redirected to site2.mysite.com
4) site2 can read the domain cookie that www.mysite.com placed in the
user's
browser.

Depending on the level of security you need, you may want to encode or
encrypt this cookie as well.

HTH

Steve

> Hello,
>
[quoted text clipped - 11 lines]
>
> Mike
Steve Lutz - 23 Feb 2005 12:28 GMT
Michal, how secure does this need to be? Because depending on that answer, I
have 2 approaches to start you with:

Less Secure - but of course easier:
Redirect the user around to the differect sites, but use URL parameters that
identify the user to the new sites.
The new sites can then just use the information in the URL.

More Secure:
Same approach, but you only pass authentication tokens in the URL.
When the additional site wants to verify the user, it redirects to a central
authority.
The central authority can use the token, or even ask for additional
information
After authentication, it redirects back to the original site/page with
authority information in the url.
The site then calls the authority information service (the site itself, not
a redirect) to verify security information.

The more secure method can get complicated.

Steve

> Hello,
>
[quoted text clipped - 60 lines]
> >
> > Mike

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.