473,666 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "txtUserNam e" and
"txtPasswor d".
[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 1382
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********@hot mail.com> wrote in message
news:eb******** ******@TK2MSFTN GP09.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 "txtUserNam e" and
"txtPasswor d".
[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********@hot mail.com> wrote in message
news:Ol******** ******@tk2msftn gp13.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********@hot mail.com> wrote in message
news:eb******** ******@TK2MSFTN GP09.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 "txtUserNam e" and "txtPasswor d".
[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
5937
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 contains: <?php $_SESSION = ""; $_SESSION = "";
1
7780
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: ---------------------------------------------------------------------------- <?php ini_set("session.use_cookies", "off"); ini_set("session.use_trans_sid", "on"); session_start(); $_SESSION = ""; $_SESSION = ""; echo "<form method='POST' action='login.php'>
3
4976
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. The first column 'Pnr' is a unique ID for each user that i made appear as a link. clicking on one userID should present a form where the picked users userdata is already filled in so i can easily edit it and then move on to submit the form to...
0
9019
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 the Google search results for the error like the previous thread. This is actually a solution to a problem, not a call for help, so you can stop reading now unless you're actually interested in the solution :)
2
1767
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 response. I am having the form submit pass a users ss # and name to an asp file, I want that asp file to pass that info on to my "verifying" site along with the username and password for that "verification" site. Is there some way in asp to access a...
4
2988
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 pass it to the Db and retrieveing data from a stored procedure, but I can't get the hang of parameters. I have a method where I can get the parameters passed to the sp but it doesn't want to return any results. Here's a copy of my code:
4
4626
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 information such as monthly schedules, etc. The person who created the website originally had made a link that would take you to that page. When you click on the link it prompts you to enter a password, but when you're entering the password you can...
22
14879
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 done in 3 steps: Step 1. Normal http login page. Step 2. A page called login.php that takes the posted username, stores it as $_SESSION, and registers it session_register("username"); user is taken to the personalized page according to his username...
3
1486
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 check log-in first so no one can go directly on the result page. Here's How it work. Log-in Form <form name="form1" method="post" action="checklogin.php"> <strong>Username</strong> <input name="myusername" type="text" id="myusername"> ...
0
8445
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8356
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8871
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8640
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7386
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1776
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.