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

Just Stumbled upon a MASSIVE security issue... Resolutions?

365 100+
Its me again... and i have a new problem.....

i am trying to make my holiday database as secure as possible and at the moment i am trying to lock out all startup options and whatnot to restrict access to the DB.(Using a Custom Logon System)

but it is possible to create a new DB (blank) and import the tables etc from the Holiday DB and then do update queries etc on the original with no authorisation...

so someone could potentially (Quite easily) mess with the DB in any way they want and Most worrying.... delete everything!!!

is there anyway to Lock this action out!?

Im quite worried about this now that i have stumbled upon it because if this is the case then my DB will not be a viable project and i will have wasted MANY HOURS of my FREE TIME doing it..

Please Help...


Thanks Dan
Jan 21 '08 #1
12 1306
Dököll
2,364 Expert 2GB
Its me again... and i have a new problem.....

i am trying to make my holiday database as secure as possible and at the moment i am trying to lock out all startup options and whatnot to restrict access to the DB.

but it is possible to create a new DB (blank) and import the tables etc from the Holiday DB and then do update queries etc on the original with no authorisation...

so someone could potentially (Quite easily) mess with the DB in any way they want and Most worrying.... delete everything!!!

is there anyway to Lock this action out!?

Im quite worried about this now that i have stumbled upon it because if this is the case then my DB will not be a viable project and i will have wasted MANY HOURS of my FREE TIME doing it..

Please Help...


Thanks Dan
Hey Dan!

Sorry for your troubles, let's see how we can begin pinning it down. Please do stay tuned for other options from our friends here. In fact, I may refer you to a link specific to disabling special keys, and so on, for which I am proud to admit this forum has helped stear it in the right direction.

First off I think you're on the right track, your startup options will help keep it solid, you can even set up a password for your code to hinder user ability to see code.

(1) Keep a template of current database
(3) Hide your database under Window menu (Hide/Unhide option)
(2) Go under tools, options, uncheck hidden objects in the pop up

Hopefully you had already right-clicked on forms, tables, queries one by one,
and selecting properties to check hidden objects option(this enables hidden objects method to interact freely with Option 3 above

(4) uncheck anything showing in startup, via tools, Startup
(5) You will want to figure out a way to undo all of the above so you work with things, therefore holding down shit key as database loads aid in viewing your hiden objects and so on

(6) Add a password to your special keys to demand that user adds a password to enable certain special keys (There's probably a code here on how on to do this part of it)...

Hope this helps get you going, nonetheless Dan...please stay tuned, and do find that link here for added support if needed:-)

Almost forgot, you can add a password to hide you VBA code:

A- right-click on any of your command buttons
B- scroll down to OnClick event procedure
C- fire those three little dots in box thingee
D- Go to tools, YourDatabaseName Log properties
E- Hit Protection tab
F- Check Lock project for viewing
G- Add a password

Save, that normal stuff and fire your forms and attempt to do A-C

Good luck with project, Dan, I can almost say I know what you're feeling:-)

In a bit!
Jan 21 '08 #2
Dan2kx
365 100+
its the fact that the data stored in that database can be imported into another database and action queries can be done on the original that bothers me!!

i can lock down the database quite well apart from that.

using the access security features dont suit my needs (in terms of user functionality)...

thanks Dan
Jan 22 '08 #3
jaxjagfan
254 Expert 100+
Management should be made aware of your concerns.

No matter how hard you try to lock an Access Database down - there's a savy user that can do some research and find a way in. I was one of those savy users at one point.

Sometimes the enduser needs more than he/she is given and tries to get to what they actually want on their own.

Sometimes the data owner will not give up access to the data the enduser needs and that prompts the enduser to try to get the info they need.

Accounting Department here is notorius for asking for reports but not giving access to some of their data sources to make reporting easier.

If someone needs more info or other data elements, find out why and if it is a part of their business process.
Jan 22 '08 #4
NeoPa
32,556 Expert Mod 16PB
Dan,

Open your database (the one with the data in) and use Tools / Security / Set Database Password... to set a password for the database as a whole.
Anyone trying to link to any tables in your database will now need to know this password.

Let us know if this resolves your issues :)
Jan 23 '08 #5
Dan2kx
365 100+
No that wouldnt work because everyone would need to know the password to use the db
which defeats the object really!!
Jan 23 '08 #6
NeoPa
32,556 Expert Mod 16PB
I wasn't aware you'd indicated in any way this is a standalone database. If I'd assumed that then you'd have reason for considering my response unintelligent.
Even so, I would consider setting it up as a FE / BE system and password protecting the Back-End database. The password is only required for the Front-End database when setting up the links.
Jan 23 '08 #7
sierra7
446 Expert 256MB
Developing the last suggestion, the BE can be in a hidden folder on the server, a couple of levels down.

If the front end is secure even a savvy user would have difficulty knowing where to look.

We do it to stop people walking off with the databse on a pen-drive!

S7
Jan 23 '08 #8
Dan2kx
365 100+
Would it be easy to split my DB into a front end and a back end at this late stage??

i have lots of queries and VB code that might be quite specific...
Jan 23 '08 #9
sierra7
446 Expert 256MB
Would it be easy to split my DB into a front end and a back end at this late stage??

i have lots of queries and VB code that might be quite specific...
It's a doddle to use the Wizard.

On a big database there might be a performance hit if the network is slow.

However, spliting the db is a first step should you want to migrate the data to SQLserver or even MySQL. Either of these would also give you better security.

S7
Jan 23 '08 #10
Dan2kx
365 100+
What about all my vb queries and and vb other bits? i would need to change them all to backend db right??
Jan 23 '08 #11
NeoPa
32,556 Expert Mod 16PB
Pretty well only the tables need to be in the BE.
All the queries, VBA, forms, etc would remain in the FE.

Never get rid of the original until you're happy with the results though of course.
Jan 23 '08 #12
Killer42
8,435 Expert 8TB
... Never get rid of the original until you're happy with the results though of course.
I'd go one further and say never get rid of the original. If you need to make a change down the track, better to start with the original, make your changes, then reapply the appropriate security.
Jan 24 '08 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jason Nix | last post by:
I have created an Active Server Component (ASC) as a bridge between ASP and my existing C++ DLLs that we use in our PC-based program. Our intent is to re-use as much code as possible. But, when I...
99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
64
by: Dave | last post by:
A friend of mine pointed out the other day that certain elements on my web site are too small. But in most of what I publish, fonts are at default size or smaller, and my images are easy to see. I...
0
by: Kenneth Lantrip | last post by:
After some cleaning of some of my personal directories and files, I stumbled upon this little program I wrote some time ago. A scammer was trying to introduce me into his little pyramid scam. So...
17
by: TC | last post by:
In the past I always regarded user/group security as fairly tight. It is tricky to implement, but once implemented properly, it can't be cracked except through a dedicated effort. Recently,...
6
by: greg wellman | last post by:
I'm trying to track down a problem in code written by someone else. The symptom appears to be a form of thread unsafety. Let me write a little psuedo code bool firsttime = true; (some more...
1
by: scuzzi200 | last post by:
Hi All, This is my first post. I'm a recent graduate and I came across this question in an interview. It stumped me. Can anyone shine some light on this one for me. Please see below: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
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
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...
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,...

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.