473,471 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Ask Password

How can I ask another time the password to a customer, after that he
has done login to a protected db?

Ciuky
Nov 12 '05 #1
7 2064
ciuky2003 previously wrote:
How can I ask another time the password to a customer, after that he
has done login to a protected db?

Ciuky


You can't force the Access login to display again.

You could develop your own form to ask for it but that would be pointless
because you could not check it.

Peter Russell
Nov 12 '05 #2
Did you try "Please"?

:)
Steve
PC Datasheet

"ciuky2003" <ci*******@tiscalinet.it> wrote in message
news:df**************************@posting.google.c om...
How can I ask another time the password to a customer, after that he
has done login to a protected db?

Ciuky

Nov 12 '05 #3
"Peter Russell" <ru***@127.0.0.1> wrote in message
news:me***********************@russellscott.btinte rnet.com...
ciuky2003 previously wrote:
How can I ask another time the password to a customer, after that he
has done login to a protected db?

Ciuky


You can't force the Access login to display again.

You could develop your own form to ask for it but that would be pointless
because you could not check it.

Peter Russell

you could not check it?

(...cracks aside) although you couldn't find out the password if you didn't
know it, you could check it to see if a given password was right or wrong -
although I can't see the point:

Public Sub CheckPassword()

On Error Resume Next

Dim wks As DAO.Workspace
Dim strUserName As String
Dim strPassword As String

strUserName = CurrentUser

strPassword = InputBox("What is your password?")

Set wks = DBEngine.CreateWorkspace("wksJET", strUserName, strPassword)

If Err.Number = 0 Then
MsgBox "Correct!", vbInformation
Else
MsgBox "Wrong!", vbCritical
End If

If Not wks Is Nothing Then
Set wks = Nothing
End If

End Sub

Fletcher
Nov 12 '05 #4
Very good.

It has never occurred to me to do this.

This would satisfy the original poster then.

I assume it's something to do with making sure that some functions really
are carried out by the person who originally logged in - and not by
someone who happened to be passing by the user's desk

Regards

Peter Russell

Fletcher Arnold previously wrote:
you could not check it?

(...cracks aside) although you couldn't find out the password if you
didn't
know it, you could check it to see if a given password was right or
wrong -
although I can't see the point:

Nov 12 '05 #5
Of course, given how trivial it would be to write an app that popped up a
window in front of access that looked like a logon dialog, they could easily
convince someone to ype in credentials....
--
MichKa [MS]
NLS Collation/Locale/Keyboard Development
Globalization Infrastructure and Font Technologies

This posting is provided "AS IS" with
no warranties, and confers no rights.
"Peter Russell" <ru***@127.0.0.1> wrote in message
news:me***********************@russellscott.btinte rnet.com...
Very good.

It has never occurred to me to do this.

This would satisfy the original poster then.

I assume it's something to do with making sure that some functions really
are carried out by the person who originally logged in - and not by
someone who happened to be passing by the user's desk

Regards

Peter Russell

Fletcher Arnold previously wrote:
you could not check it?

(...cracks aside) although you couldn't find out the password if you
didn't
know it, you could check it to see if a given password was right or
wrong -
although I can't see the point:


Nov 12 '05 #6
Michael (michka) Kaplan [MS] wrote:
Of course, given how trivial it would be to write an app that popped up a
window in front of access that looked like a logon dialog, they could easily
convince someone to ype in credentials....


I had an app on a Palm Pilot that you put your thumb on, being a touch
screen as soon as you did it said Access Denied, my boss thought it was
real.

You can also make that login box modal and test the password against the
current security context using dao.createworkspace()
Nov 12 '05 #7
"Fletcher Arnold" <fl****@home.com> wrote in message news:<c1**********@titan.btinternet.com>...
"Peter Russell" <ru***@127.0.0.1> wrote in message
news:me***********************@russellscott.btinte rnet.com...
ciuky2003 previously wrote:
How can I ask another time the password to a customer, after that he
has done login to a protected db?

Ciuky


You can't force the Access login to display again.

You could develop your own form to ask for it but that would be pointless
because you could not check it.

Peter Russell

you could not check it?

(...cracks aside) although you couldn't find out the password if you didn't
know it, you could check it to see if a given password was right or wrong -
although I can't see the point:

Public Sub CheckPassword()

On Error Resume Next

Dim wks As DAO.Workspace
Dim strUserName As String
Dim strPassword As String

strUserName = CurrentUser

strPassword = InputBox("What is your password?")

Set wks = DBEngine.CreateWorkspace("wksJET", strUserName, strPassword)

If Err.Number = 0 Then
MsgBox "Correct!", vbInformation
Else
MsgBox "Wrong!", vbCritical
End If

If Not wks Is Nothing Then
Set wks = Nothing
End If

End Sub

Fletcher


Tank you,

it's a very good solution to my question!!

Ciuky
Nov 12 '05 #8

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

Similar topics

11
by: John Victor | last post by:
In my mysql database, I've stored all the passwords using the PASSWORD() function. Now I'm running a test and need to compare the password in my php document to that saved in the database. I used...
3
by: arktikturtle | last post by:
Hi! I'm looking for a way to validate a password within PL/SQL. I want to write CREATE PROCEDURE change_password(old_password IN VARCHAR2) IS BEGIN -- check if old_password is correct... but...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
10
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
6
by: Andre Ranieri | last post by:
I'm trying to create a login page for customers to log into our corporate website, our presidents naturally wants the user and password fields to populate from a cookie so the customer doesn't have...
5
by: scorpion53061 | last post by:
is it possible to set the database password that you can set in access for a database from a vb.net application?
26
by: David Garamond | last post by:
I read that the password hash in pg_shadow is salted with username. Is this still the case? If so, since probably 99% of all PostgreSQL has "postgres" as the superuser name, wouldn't it be better...
8
by: Katash | last post by:
Hello, I am new to PHP and am working on a login system for my site, currently supplied passwords are passed to MySQL and stored as md5 hashes, my question is :- seeing as md5 is 1 way only what...
3
by: julianmoors | last post by:
Hey, Currently I'm writing a VB.NET/1.1 app and I need to mask the input for the password field. Does anyone know how to do this in VB? I've seen a C# example, but wouldn't know how to convert...
2
by: DarthPeePee | last post by:
Hello everyone. I am working on a Password Strength Meter and I am running into 1 problem that I would like to fix. When pressing the "Clear Password & Try Again" button, the password clears...
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
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
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...
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.