I've just experienced something of a startling revelation. I thought I had
my application reasonably well secured - I distribute only the MDE, use
password login, have the database window hidden, with no bypass. I control
access to reports through menus, and roles that I've set up in the
application.
Print preview anything. Form, report, anything - the toolbar that appears
has a button on it - Database Window. Sure enough it opens the database
window and reveals everything.
Is there anything that I can do to stop users from getting at the database
window? Is there anything that I can do to stop them from opening forms and
reports that I don't want them to? I don't suppose there is an Event that
occurs when the database window is unhidden? 4 1161
"Randy Harris" <ra***@SpamFree .com> wrote in message
news:C7******** *******@newssvr 19.news.prodigy .com... Print preview anything. Form, report, anything - the toolbar that appears has a button on it - Database Window. Sure enough it opens the database window and reveals everything.
Is there anything that I can do to stop users from getting at the database window? Is there anything that I can do to stop them from opening forms and reports that I don't want them to? I don't suppose there is an Event that occurs when the database window is unhidden?
Use custom menus and deny access to built-in menus for a start. Have you
had a look at Tools ... Startup? Also make sure that you either disable
shortcut menus (right-click) or have your own custom ones that don't feature
the likes of "Design View".
Regards,
Keith. www.keithwilby.com
"Randy Harris" <ra***@SpamFree .com> schreef in bericht news:C7******** *******@newssvr 19.news.prodigy .com... I've just experienced something of a startling revelation. I thought I had my application reasonably well secured - I distribute only the MDE, use password login, have the database window hidden, with no bypass. I control access to reports through menus, and roles that I've set up in the application. Print preview anything. Form, report, anything - the toolbar that appears has a button on it - Database Window. Sure enough it opens the database window and reveals everything. Is there anything that I can do to stop users from getting at the database window? Is there anything that I can do to stop them from opening forms and reports that I don't want them to? I don't suppose there is an Event that occurs when the database window is unhidden?
Hi Randy,
You know that *every* user (if determined) can bypass your 'no bypass' don't you ?
So: *every* user can get access to the database window AFAIK.
I think you will need to use User level Security here, and this is not a trivial task.
For me, hiding the code (using mde) is enough, but if I want to stop users from opening certain forms I sometimes use 'openargs' like:
If IsNull(Me.opena rgs) then msgbox "I told you not to open this form, your files are deleted ..." opened from db window
For reports I think this is also possible starting with Access 2003.
Arno R
Perhaps this might help:
Public Sub DoToolBarTweaks ()
' remove "Database Window" and "New Object" buttons from "Form View"
toolbar
Dim tbo As Object
For Each tbo In CommandBars("Fo rm View").Controls
If tbo.id = 577 Or tbo.id = 2599 Then
tbo.Visible = False
End If
Next
End Sub
MDE is primarily to protect your code from being inadvertently changed by
the user. Where did you get the idea that it provided full application
security? Google this newsgroup for a reference to the Security Whitepaper.
However, even if you use user/group security as detailed in those 39 pages,
you have to do it right, and even so, it can still be broken.
Larry Linson
Microsoft Access MVP
"Randy Harris" <ra***@SpamFree .com> wrote in message
news:C7******** *******@newssvr 19.news.prodigy .com... I've just experienced something of a startling revelation. I thought I
had my application reasonably well secured - I distribute only the MDE, use password login, have the database window hidden, with no bypass. I
control access to reports through menus, and roles that I've set up in the application.
Print preview anything. Form, report, anything - the toolbar that appears has a button on it - Database Window. Sure enough it opens the database window and reveals everything.
Is there anything that I can do to stop users from getting at the database window? Is there anything that I can do to stop them from opening forms
and reports that I don't want them to? I don't suppose there is an Event that occurs when the database window is unhidden? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Carl |
last post by:
"Nine Language Performance Round-up: Benchmarking Math & File I/O"
http://www.osnews.com/story.php?news_id=5602
I think this is an unfair comparison! I wouldn't dream of developing a
numerical application in Python without using prebuilt numerical libraries
and data objects such as dictionaries and lists.
I have been experimenting with numerical algorithms in Python with a heavy
use of the Numeric module. My experience is that Python...
|
by: mwdsmith |
last post by:
Hi, I'm new to python, and I'm not sure if this is the place to post
this kind of question; so feel free to tell me if I should take this
elsewhere.
So, to start me off on python, I decided to put together a little
script to test the probabilities of rolling certain combinations of
dice. Below is my code for checking for a full house (when rolling
with 5 dice). A roll is a list, eg (this example is
not a full house)
|
by: louis |
last post by:
For those in the DFW area, there's an IT open house at Perot Systems.
(In my group, we're looking to hire one senior sql server DBA. Go to
the perot systems web site to apply).
------------------------------------------------------------
You're Invited to Perot Systems IT Career Open House - July 14, 2005
To meet our growth needs, Perot Systems is hosting an IT Career Open
House at the company's Plano campus. If you have the skills...
|
by: Chua Wen Ching |
last post by:
Hi,
I am wonder how those guys created obfuscators? Is there anyone can share
how you actually created it?
Can i use .net to create an obfuscator for .net assemblies? or language
doesn't matters.
I am wondering how you do pattern matching (AI stuff ???), decrease the size
of compilcation to assemblies (smaller file size) and faster loading...
|
by: rperetz |
last post by:
Hi all,
I was given a task to create a houseHolding logic under a table that
have millions records.
first let me explain what is a house holding:
let's say I have 2 records that have the same phone number, that mean
that both records are under the same household, but this can get more
complicated
this article explain it
http://www.teradata.com/t/page/115924/index.html
| |
by: =?ISO-8859-2?Q?Miros=B3aw?= Makowiecki |
last post by:
How do library name which it implementation a straw in C++ language by next
of any alocator.
This straw has property like what pipe width C language at unix.
THans in advance.
|
by: Gemmalouise1988 |
last post by:
Hi everyone,
My most important college assignment to date seems pretty basic on the outside
but I'm sure this will interest a few of you.
If you see this document:
http://stair.stcoll.ac.uk/jowen/btecsd/pconc/docs/IVA1.pdf and take a brief look
to see what it's all about, (a fixtures and points system for a school) take a
look on page 3, to see the list of students with their names, house and class.
Then look on page 2 to see the...
|
by: Arben |
last post by:
Can anyone halp me to write the Java code for thid exercise?
--------------------------------------------------------------------------------------------------------------
Exercise: Use the class from the previous exercise to build a game called \draw the house."
The objective is to throw a die repeatedly, and based on the outcome, draw parts
of a house. A throw of 6 lets one draw the building, a square; a throw of 5 lets
one draw the...
|
by: Stef Mientki |
last post by:
hello,
In the code below, I can build a large street like this:
large_street = house * 25
but not a small street. like this:
small_street = 5 * house
Why is this different ?
And more interesting, how do I get the right results ?
|
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: 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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |