473,396 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

pass login to application

how can pass the login (security info) to secondary application?
ASP.NET 1.1

user login to application 1(app1.myapp.com) with their username and
password, then they have a link to application 2 (app2.myapp.com) and I want
to pass the authentication of application 2 with backend process.

Also, security issue is first priority.

Thanks in advanced.
Apr 5 '06 #1
1 2099
What I have done in the past was use a "public" and "private" token to pass
a user around from application to application.

When a user clicks on a link that leads to another web application, I first
create a private token (a guid if you will) and store it in some common
storage (SQL Server). Then I take the hash of the private token (along with
the username, referring page url) and pass it as an argument to the website.
The tokens have short lifespans and will timeout after say 10 seconds.

I use both AD and Custom Rolled Security accounts. NT Accounts would be
internal employees that are mainly managing content and providing minimal
data entry. Custom Security accounts (Simply a series of tables in a SQL
server) are B2B users and registered customers/affiliates. There is a
private web services sitting just inside the DMZ to manage both security
authentication modes and all data manipulation. The public web server(s)
is/are merely the interface and conduit.

In order for there to be acceptance of the "credentials", the hash must
match, the username must match that which is stored with the private token,
the referring page url must match the value that was passed along. If the
authentication fails, the user is challenged with the regular login screen.
Because of the NT accounts, their password is cached (encrypted) in a SQL
table so that they may request data from the private web service and provide
valid credentials.

It seems pretty solid to me and has been running since 2002 servicing 1,200
users, 150-300 concurrently during peak hours. It has passed every audit
and inspection thrown at us from the likes (at the time) Anderson
Consulting, Burbee, and over a dozen major pharmaceutical companies (I am
not allowed to devulge names).

The solution supports 23 distinct web applications (ASP and ASP.Net)
spanning 2 public web servers, 2 private web services servers, 4 Citrix
servers, IP*Switch's Webmail solution, Outlook Web Access. All of this
access is provided via a single login screen, a virtual desktop if you will.
Granted some customizations were made in Webmail and OWA to complete the
circle.

I only wish that VS'05 was out when I began the development using VS'02. At
least now I have a lot more experience to barrow from when I remodel it.
AJAX?, heck it used to be just an Div Tag wrapping an IFrame with some
javascript thrown in to make a progress bar and to wait for the response.
Web services used to be Http requests, then some elaborate SOAP, then DIME.
Man have we come far since 1995 IIS 2.0 and Navigator, let alone Prodigy's
rate increase marking the death of BBS's and gopher's text being replaced by
hyper text in '93.

I hope this helps.
"beachboy" <jp********@yahoo.com.hk> wrote in message
news:uW**************@TK2MSFTNGP05.phx.gbl...
how can pass the login (security info) to secondary application?
ASP.NET 1.1

user login to application 1(app1.myapp.com) with their username and
password, then they have a link to application 2 (app2.myapp.com) and I
want to pass the authentication of application 2 with backend process.

Also, security issue is first priority.

Thanks in advanced.

Apr 5 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Joe | last post by:
I have 3 servers server1: http://server1/login.asp, http://server1/page1.as server2: http://server2/login.asp, http://server2/page1.as server3: http://server3/login.asp, http://server3/page1.as ...
9
by: Paul | last post by:
What I am trying to do is as follows. I have a page with 3 links,that direct the user to 3 different pages when selected after login. So all link selections will first direct the user to a login...
3
by: cmueller | last post by:
Hey all - I'm in a bit of a bind concerning web services and integrated authentication. I'll give you a little background as to what I'm trying to do ... I have a client application that...
10
by: et | last post by:
I have an asp.net program that uses a connection string, using integrated security to connect to a sql database. It runs fine on one server, but the other server gives me the error that "Login...
3
by: Hei | last post by:
Hi All, i using .showdialog to show a child form for user input some data, and i wand to pass back these data to the parent form. how can i achieve this? thx. Hei.
1
by: beachboy | last post by:
how can pass the login (security info) to secondary application? ASP.NET 1.1 user login to application 1(app1.myapp.com) with their username and password, then they have a link to application 2...
1
by: xcelmind | last post by:
Hello Dev. Guru, I want to at this time introduce myself. I am Stanley Ojadovwa by name. I’m a freelance and a newbie in web application development. I’m currently using ASP as my application...
0
by: HomerS007 | last post by:
Hi, I'm using asp.net 2.0 and sql server 2000 for my first ever project. On one of the page in the application, I want to limit what the user can see based on his/her login. It's a page that...
2
by: adam.waterfield | last post by:
Maybe someone could help me a little here. On a project I am working on, we have some LDAP authentication to Active Directory which allows users to login to our application - this is fine. When...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.