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

Password on close (again)

I have some accounting and tax receipting type applications, developed
for charitable and non profit groups, that are exhibiting strange
behaviour on a few of the 30 or 40 user machines.

When some users (about 3 or 4 it seems) close the frontend db the Access
database password prompt appears. Users can just Cancel the pw prompt
(or enter the correct password) and the db will then close.

On the MS Office forum I found a post that suggested this is due to
Compact on Close (which I indeed used on the frontend db); however the
post there said that the password prompt would probably only occur on
systems running Access 2000 but not on Access XP nor 2003.

I don't see most of the pcs that are running these apps (they download
the frontend and backend dbs from a web site and some may have the
problem and not report it) but on some recent onsite visits I've found
the problem on the following systems:

Windows 98 / Access 2000 - newly downloaded acctg & receipt apps both
Windows XP / Access 2002 - uses accounting system only
Windows XP Home 2002 SP1 / Access 2002 - uses accounting system only

The apps do not exhibit this behaviour on the development machine (Win
Me Access 2002/XP SP3) nor on several other machines of various OS and
Office vintages.

Things I've tried:
• Decompile / recompile (on the development machine). This seemed to
cure one machine (Windows XP Pro / Access 2002) but the three systems
above downloaded the latest recompiled application systems and still
asked for pw on close. On another system that exhibited the password on
close problem the recompiled app seemed to cure the problem but the user
had upgraded from Access 2002 to Access 2003 in the meantime.

• unsetting and resetting the password - not a cure.

The apps themselves are all similarly designed with the frontends saved
in Access 2000 format and the backends saved in Access 97 format.
(there is also an Access 97 frontend for A97 users - these don't exhibit
the problem which seems to support the tie-in with compress on close).
The password is set on the frontend and backend dbs (same pw). The apps
have been in production for just over a year but the password on close
situation didn't seem to surface until about 6 months ago (which may
have coincided with setting Compact on Close on the frontend ... I don't
have a record when this practice ensued).

This password on close phenomenon has me totally perplexed. Since I
don't have ready access to a machine that exhibits the problem I can't
even experiment to see if I can diagnose the problem. It's happening
enough that it's no longer a one-off glitch but it's incidence is still
low so it doesn't seem to be an inherent design thing I've done.

Any thoughts on this is most appreciated.

TIA

PS. I know the Access pw isn't the greatest security in the world (locks
just keep honest people out etc.) but these applications need at least a
minimal password challenge just to comply with ease of access guidelines.
--
F L
-
Mar 7 '06 #1
6 2394
Frank L <Le***************@sympatico.ca> wrote in
news:YS*****************@news20.bellglobal.com:
On the MS Office forum I found a post that suggested this is due
to Compact on Close (which I indeed used on the frontend db)


Compact on close is a bad thing.

1. if there is unrecoverable corruption, you could lose data in the
compacted database, if there is any, with no way to cancel out of
it.

2. it's of no value on a properly designed front end, which doesn't
really benefit from being compacted at all.

And database passwords are worth about as much as a worm bucket of
spit, in any case.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 7 '06 #2
David W. Fenton wrote:
Frank L <Le***************@sympatico.ca> wrote in
news:YS*****************@news20.bellglobal.com:

On the MS Office forum I found a post that suggested this is due
to Compact on Close (which I indeed used on the frontend db)

Compact on close is a bad thing.

1. if there is unrecoverable corruption, you could lose data in the
compacted database, if there is any, with no way to cancel out of
it.

2. it's of no value on a properly designed front end, which doesn't
really benefit from being compacted at all.

And database passwords are worth about as much as a worm bucket of
spit, in any case.

I may well drop the compact on close option for the frontends - these
are smallish dbs (under 2MB) that don't seem to bloat to more than 2.5MB
in any case. OTOH, there have been no failures in the last couple of
years of production, but if compact on close did corrupt the f/e, the
user would just download a fresh copy.

Still can't account for the variable behaviour of the password on close
issue. The mental aggravation of this problem may lead me to remove the
compact on close moreso than the technical merits (or lack) of compact
on close.

Password protection is necessary to comply with federal guidelines that
require access controls on systems that issue charitable receipts for
income tax purposes. The guidelines don't specify the strength of the
deterrent. So, it doesn't matter that Access's pw can be compromised,
just that there is a pw.
--
F L
-
Mar 8 '06 #3
Frank L <Le***************@sympatico.ca> wrote in
news:mD*******************@news20.bellglobal.com:
Password protection is necessary to comply with federal guidelines
that require access controls on systems that issue charitable
receipts for income tax purposes. The guidelines don't specify
the strength of the deterrent. So, it doesn't matter that
Access's pw can be compromised, just that there is a pw.


If you're happy with cosmetic fixes that could be cracked by anyone
after 5 minutes of Googling, I guess that's OK.

But I sure wouldn't want to face a review by the Feds under those
circumstances.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 8 '06 #4
David W. Fenton wrote:
Frank L <Le***************@sympatico.ca> wrote in
news:mD*******************@news20.bellglobal.com:

Password protection is necessary to comply with federal guidelines
that require access controls on systems that issue charitable
receipts for income tax purposes. The guidelines don't specify
the strength of the deterrent. So, it doesn't matter that
Access's pw can be compromised, just that there is a pw.

If you're happy with cosmetic fixes that could be cracked by anyone
after 5 minutes of Googling, I guess that's OK.

But I sure wouldn't want to face a review by the Feds under those
circumstances.


My thinking up to now was that using the Access password was preferable
to trying to develop any security solution on my own. I was assuming
(maybe wrongly?) that it would be difficult to do and I couldn't one-up
Microsoft. And it would seem by doing so I take more of the
responsibility on myself (akin to modifying the car's seatbelts) rather
than using the product asis. But if there were something simple to
implement I would go for it, given all the password cracking products
and services out there for Office (not to mention Accpac, Simply Acctg
etc which some of my users also have)

What alternatives would you recommend?

I'd like to avoid the purchase of a 3rd party product since these
database apps were developed and are supported for free and it would be
difficult or at least unpopular to pass on the costs to the end users.

In my recent contacts with the Charities Directorate they have been
focused on broad adherence to controls and procedures (safeguarding of
blank receipt media, serialization of receipts, identification of
reissued duplicates, access to computer systems etc). I guess they have
enough groups not doing even the basics right that this is a success.
Not to say they won't someday soon delve into the arcane world of
password protection especially as part of a general compliance exception
audit. Maybe by then I'll have something better.
--
F L
-
Mar 8 '06 #5
Frank L <Le***************@sympatico.ca> wrote in
news:xi*******************@news20.bellglobal.com:
David W. Fenton wrote:
Frank L <Le***************@sympatico.ca> wrote in
news:mD*******************@news20.bellglobal.com:

Password protection is necessary to comply with federal
guidelines that require access controls on systems that issue
charitable receipts for income tax purposes. The guidelines
don't specify the strength of the deterrent. So, it doesn't
matter that Access's pw can be compromised, just that there is a
pw.

If you're happy with cosmetic fixes that could be cracked by
anyone after 5 minutes of Googling, I guess that's OK.

But I sure wouldn't want to face a review by the Feds under those
circumstances.


My thinking up to now was that using the Access password was
preferable to trying to develop any security solution on my own. I
was assuming (maybe wrongly?) that it would be difficult to do and
I couldn't one-up
Microsoft. . . .


You don't have to roll your own security. Just use the built-in Jet
user-level security. There would then be no password prompt for any
of the compact-on-close operations.
. . . And it would seem by doing so I take more of the
responsibility on myself (akin to modifying the car's seatbelts)
rather than using the product asis. But if there were something
simple to implement I would go for it, given all the password
cracking products and services out there for Office (not to
mention Accpac, Simply Acctg etc which some of my users also have)

What alternatives would you recommend?
Well, certainly, thought Jet user-level security can be cracked,
it's much harder than cracking the Access password, so that's what
I'd recommend.
I'd like to avoid the purchase of a 3rd party product since these
database apps were developed and are supported for free and it
would be difficult or at least unpopular to pass on the costs to
the end users.
I don't see how any 3rd-party product could protect your data.
In my recent contacts with the Charities Directorate they have
been focused on broad adherence to controls and procedures
(safeguarding of blank receipt media, serialization of receipts,
identification of reissued duplicates, access to computer systems
etc). I guess they have enough groups not doing even the basics
right that this is a success. Not to say they won't someday soon
delve into the arcane world of password protection especially as
part of a general compliance exception audit. Maybe by then I'll
have something better.


You have an alternative to the database password other than rolling
your own. And it's going to be more secure than anything you could
write on your own.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 9 '06 #6
Br
David W. Fenton wrote:
<>
Well, certainly, thought Jet user-level security can be cracked,
it's much harder than cracking the Access password, so that's what
I'd recommend.


Actually, it's easier (for me anyway:). I have a crack that resets the
default admin user's rights to the full database (haven't tried it on
A2002/3 yet). As it just patches the file with a small value it runs almost
instantly (though the file is likely left unstable so you'd need to import
all the objects to a clean db). To discover a database password you have to
decrypt it which can take a while (it's easier with older versions).

I've seen some strange DB passwords in my time that use weird characters. If
you set the password via code can you use characters that can't (or are
difficult) to type?

<>
--
regards,

Br@dley
Mar 9 '06 #7

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

Similar topics

1
by: Marc | last post by:
Hello, Newbie here..... Searching and working this for a week now. We too are having the same problems. Using MySql 4.0.14 and there are "no problems" at all.
1
by: william cline | last post by:
Hi, I am a beginner and below I have code for a long in form. My goal is for the form to read a file of a list of users and thier passwords ....compare the text box inputs to the file and either...
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,...
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...
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...
2
by: Jeff Williams | last post by:
I am developing an application which will allow users (students) to run applications on PC's with elevated rights. This is necessary for some applications which require Administrator rights on the...
8
by: Sheik Ishmael | last post by:
Hi, I'm trying to get password recognition calling data froma table called users('user_name' and 'user_password' using the below (bottom of page) code. However, I get the following warning...
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...
1
by: pawan123 | last post by:
Hi, I am using VB6 and SQL Server 2000. I want to design a logon form. In this form, how can I use a Password field to store in encrypted form in tbluser table and how can I compare password...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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,...
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...

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.