I am using MSDE as the database of my program.
At the begin of my program, it must display a form for user to enter the
password
After the user enters the password, I will check the password, if it is the
correct password of a user of MSDE
..
In order to check the password; I must get the password of a user of MSDE in
the first.
How can I get the password of a user of MSDE? Like that I have a sa2 in MSDE
, how can I get the password of sa2? 4 2710
"ad" <ad@wfes.tcc.ed u.tw> wrote in message
news:uM******** ******@tk2msftn gp13.phx.gbl... In order to check the password; I must get the password of a user of MSDE in the first.
Why don't you try to connect with username and password that user provided
and let MSDE to check if they are correct? Then you won't need to know user
passwords.
RGDS PSG
From a security perspective that's a very bad approach. You should attempt
to log in with those credentials passed and than let MSDE check the
Password. If the password is an error an exception will be thrown.
Amy.
"ad" <ad@wfes.tcc.ed u.tw> wrote in message
news:uM******** ******@tk2msftn gp13.phx.gbl... I am using MSDE as the database of my program.
At the begin of my program, it must display a form for user to enter the password
After the user enters the password, I will check the password, if it is
the correct password of a user of MSDE
.
In order to check the password; I must get the password of a user of MSDE
in the first. How can I get the password of a user of MSDE? Like that I have a sa2 in
MSDE , how can I get the password of sa2?
But there are many situations when we fail to login MSDE, like the MSDE is
stop or the net is disconnected
How can I confirm the failure is caused by incorrect password?
"Amy L." <am**@paxemail. com> ¼¶¼g©ó¶l¥ó·s»D
:OA************ **@TK2MSFTNGP10 .phx.gbl... From a security perspective that's a very bad approach. You should
attempt to log in with those credentials passed and than let MSDE check the Password. If the password is an error an exception will be thrown.
Amy.
"ad" <ad@wfes.tcc.ed u.tw> wrote in message news:uM******** ******@tk2msftn gp13.phx.gbl... I am using MSDE as the database of my program.
At the begin of my program, it must display a form for user to enter the password
After the user enters the password, I will check the password, if it is the correct password of a user of MSDE
.
In order to check the password; I must get the password of a user of
MSDE in the first. How can I get the password of a user of MSDE? Like that I have a sa2 in MSDE , how can I get the password of sa2?
"ad" <ad@wfes.tcc.ed u.tw> wrote in message
news:uI******** ******@TK2MSFTN GP14.phx.gbl... But there are many situations when we fail to login MSDE, like the MSDE is stop or the net is disconnected
How can I confirm the failure is caused by incorrect password?
Just handle an exception message (message from MSDE about error type).
When MSDE is down you will probably get error no. 17 "Connection failed...
Server does not exist or access denied.", when it is up, but wrong
user/password error no. 18456 "Login failed for user ...".
RGDS PSG This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Sam |
last post by:
I have installed msde 7.0 on a pc with win98.
Someone has changed sa password
How can I reset sa password?
I'm unable to logon with trusted connection because the pc is not nt.
Thanks
|
by: John Morgan |
last post by:
I urgently need tom use SP3a upgrade the instance of SQLServer200
MSDE runing on my local machine but I am having problems in doing so.
My first problem is that when I start the set up procedure I get the
message
"A strong SA password is required for security reasons. Please use
SAPWD switch to supply the same"
Currently the sa password is
Abc/def/ghk1
|
by: NWx |
last post by:
Hi,
I'm an old developer, but didn't used SQL Server or MSDE to much before.
I have NetSDK instance of MSDE installed on my PC by Net Framework SDK.
All quickstart samples access it using trusted connection.
However, I want to access it using user / password, but I have no idea what
is default username / password to use.
Any help is appreciated.
|
by: Gabor |
last post by:
Hi,
I have an app. that uses an MSDE database. I hardcoded the login and
password in the application, but it is very simple to see with an ILDASM.exe
tool.
Is it any procedure to obscure the hard coded connection string, or how can
I connect to the database with an encrypted password?
Thanks in advance
|
by: Tiraman :-\) |
last post by:
Hi Every one,
i have a login form which collect user and password from the user
And i would like to give the user an option to remember his user and
password for the next time.
what is the best way to save the user and password and where should i save
it ?
| |
by: Nikolay Petrov |
last post by:
I have an app with text boxes used to change user password
Textbox1 - old password
Textbox2 - new password
Textbox3 - new password second time
What I need is how to check if the newely created password is with standart
ascii symbols. Maybe I am not describing it well, but I don't know the exact
term.
What I wont to achieve is, that the should not type password in our local
|
by: Terry Olsen |
last post by:
I need to know how to create a user in MSDE. I can't seem to get the
syntax correct. I've tried several different variations such as the
following, but nothing seems to work.
CREATE USER user PASSWORD password
CREATE USER 'user' PASSWORD 'password'
CREATE USER user PASSWORD 'password'
CREATE USER user SET PASSWORD 'password'
Can't seem to find any references on google either. Can anyone help?
|
by: eddie |
last post by:
Hi Guys,
We've lost the password for the sa. No other users belong to the admin
group. I've tried logging in using osql -E (windows authentication)
without success. Is there anyway to reset the sa password? The database
is MSDE and the version seems to be 7 (sql server 7 folder on pc). It
is running on Windows 2000 professional.Any help would be greatly
appreciated.
Regards,
Eddie
|
by: Ken Fine |
last post by:
I want to add the security question and answer security feature to the
ChangePassword control. I am aware that this functionality is built into the
PasswordRecovery tool. I have implemented the PasswordRecovery with a
Password reset required; a temporary password is sent to the account on
file. I want an extra layer of security to accommodate the very unlikely
contingency that someone's e-mail account is compromised. Challenging with
the...
|
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...
|
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,...
| |
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...
|
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,...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
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...
| |