473,385 Members | 1,645 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,385 software developers and data experts.

Clean solution - passing username + password between separate APPs

Hi there,
I am looking for a clean solution that will allow me to share critical info
(like username and password) values between separate DLL application.

Here is my scenario:
[Site.dll] contains the main page with the logon fields "txtUserName" and
"txtPassword".
[Engine.dll] contains the code where I check the credentials of the user
that tries to log in.

So, I wonder how can I pass the values "user" and "pwd" without using the
QueryString (therefore avoiding to show the actual password on the URL).

Any Gurus out there ????

Thanks,
Filippo.


Nov 18 '05 #1
2 1357
BTW,
This info may make a difference so I wanted to share it with you guys.

The URL looks like this: http://myserver/SITE/ENGINE
meaning that the ENGINE.dll is a sub directory of the SITE.dll
Filippo.
"Filippo Pandiani" <pa********@hotmail.com> wrote in message
news:eb**************@TK2MSFTNGP09.phx.gbl...
Hi there,
I am looking for a clean solution that will allow me to share critical info (like username and password) values between separate DLL application.

Here is my scenario:
[Site.dll] contains the main page with the logon fields "txtUserName" and
"txtPassword".
[Engine.dll] contains the code where I check the credentials of the user
that tries to log in.

So, I wonder how can I pass the values "user" and "pwd" without using the
QueryString (therefore avoiding to show the actual password on the URL).

Any Gurus out there ????

Thanks,
Filippo.

Nov 18 '05 #2
As far as the logon info, I wouldn't pass that between the app's. Instead,
I wouldchange the value in the MachineKey node in the machine.config file so
that the authentication information is shared between the two apps. See
http://support.microsoft.com/default...b;en-us;312906 for more
information.

For the rest of your data, if you don't want to use query strings or
cookies, you will probably have to store the data in the database from app 1
and retrieve it again in app 2.

Jeff

"Filippo Pandiani" <pa********@hotmail.com> wrote in message
news:Ol**************@tk2msftngp13.phx.gbl...
BTW,
This info may make a difference so I wanted to share it with you guys.

The URL looks like this: http://myserver/SITE/ENGINE
meaning that the ENGINE.dll is a sub directory of the SITE.dll
Filippo.
"Filippo Pandiani" <pa********@hotmail.com> wrote in message
news:eb**************@TK2MSFTNGP09.phx.gbl...
Hi there,
I am looking for a clean solution that will allow me to share critical

info
(like username and password) values between separate DLL application.

Here is my scenario:
[Site.dll] contains the main page with the logon fields "txtUserName" and "txtPassword".
[Engine.dll] contains the code where I check the credentials of the user
that tries to log in.

So, I wonder how can I pass the values "user" and "pwd" without using the QueryString (therefore avoiding to show the actual password on the URL).

Any Gurus out there ????

Thanks,
Filippo.


Nov 18 '05 #3

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

Similar topics

5
by: Paul | last post by:
I want to use sessions to cover myself in case the user switches off cookies so I am passing the session ID manually through a hidden input field. This is what I have so far. index.php page...
1
by: Paul | last post by:
Hmmm, didn't seem to work. I have set session.use_cookies = 1 and session.use_trans_sid = 1 in my php.ini file. Index.php contains:...
3
by: Fredrik/Sweden | last post by:
Hi folks ! got this problem... i have a table 'Accounts' in my database, which contains a bunch of users. From the main menu i choose "edit user" and all users in the db are presented in a table....
0
by: David Moore | last post by:
Hello I posted a thread about this a while back, but I can't actually find it again so I can reply to it with the solution I found, so I'm making a new thread and hoping it goes to the top of...
2
by: Rickard | last post by:
OK. I have the need on a form submit to pass the data to anther system that require a login and password only I want to automate the process in an server side asp file and then process the...
4
by: Mike Dinnis | last post by:
Hi, I've been working through a number of turorials to try to learn more about retrieving data from a SQL database. I think i've mastered techniques where i create a sql string in the page and...
4
by: arad | last post by:
I'm adding some pages to a website for a client and one of the options the client wants is for his employees to be able to login into a separate page for employees only, where they can retrieve...
22
by: K. A. | last post by:
I have two servers at work, 'A' for testing and development, and server 'B' for production. On server A, I wrote a PHP test code to login users then direct them to a personalized page. This is...
3
ddtpmyra
by: ddtpmyra | last post by:
I have log-in form before showing all the data. I got this script in one of the internet site. The problem Im having now is capturing the username and pass it to my query line. But the password has...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.