473,498 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

prohibit access to a database.

Hi,

I am designing a Point Of Sale system, but facing a problem. By design, the
database must be located locally. However, i don't want any user to just
open the database and view all the records. Is there a way to prevent any
user from opening the db, but still allow my program to access it. So far
the solutions i thought of are:

1) Mark the db file as hidden but that would stop only the unskilled users .
2) Encrypt every record, that way even if the user sees the database, it
would still be unreadable. However, to make matters worse, the client wants
to be able to make reports on the database, and encryted data is not much of
useful.

Any ideas would be greatly appreciated. 1 more point. I am on a very tight
budget, so i cannot use expensive 3rd party tools.
Nov 17 '05 #1
2 1093
Loui,

¿What is your database? ¿MSDE (SQL Server)?
If so, you can design a set of permissions so that only you and those you
want can access the DB or the parts of DB you want them to allow access to.
And for your application to work, you can use an APPLICATION ROLE. There is
plenty of information on such topics on MSDN.

Regards - Octavio

"Loui Mercieca" <lo**@destiny-creations.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

I am designing a Point Of Sale system, but facing a problem. By design,
the database must be located locally. However, i don't want any user to
just open the database and view all the records. Is there a way to prevent
any user from opening the db, but still allow my program to access it. So
far the solutions i thought of are:

1) Mark the db file as hidden but that would stop only the unskilled users
.
2) Encrypt every record, that way even if the user sees the database, it
would still be unreadable. However, to make matters worse, the client
wants to be able to make reports on the database, and encryted data is not
much of useful.

Any ideas would be greatly appreciated. 1 more point. I am on a very tight
budget, so i cannot use expensive 3rd party tools.

Nov 17 '05 #2
Thanks octavio, yes i tried it out and it worked.

However, just for options sake for the client, can i do something like that
using access??

Thanks once again for your help!!

"Octavio Hernandez" <do****@danysoft.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Loui,

¿What is your database? ¿MSDE (SQL Server)?
If so, you can design a set of permissions so that only you and those you
want can access the DB or the parts of DB you want them to allow access
to. And for your application to work, you can use an APPLICATION ROLE.
There is plenty of information on such topics on MSDN.

Regards - Octavio

"Loui Mercieca" <lo**@destiny-creations.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

I am designing a Point Of Sale system, but facing a problem. By design,
the database must be located locally. However, i don't want any user to
just open the database and view all the records. Is there a way to
prevent any user from opening the db, but still allow my program to
access it. So far the solutions i thought of are:

1) Mark the db file as hidden but that would stop only the unskilled
users .
2) Encrypt every record, that way even if the user sees the database, it
would still be unreadable. However, to make matters worse, the client
wants to be able to make reports on the database, and encryted data is
not much of useful.

Any ideas would be greatly appreciated. 1 more point. I am on a very
tight budget, so i cannot use expensive 3rd party tools.


Nov 17 '05 #3

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

Similar topics

0
12048
by: sonu | last post by:
I have following client side code which i have used in my asp.net project SummaryFeatured Resources from the IBM Business Values Solution Center WHITEPAPER : CRM Done Right Improve the...
4
1195
by: Boni | last post by:
Dear all, can I prohibit that my class will be passed by value (i.e created a copy on stack when function is called)? I want to prohibit passing my class by value. I thougth that declare a default...
4
1883
by: antonyliu2002 | last post by:
Let me try to make clear what my concern is. I think it is a pretty interesting one, which I think of while I am developing my web application. I have an authenticated/authorized web...
9
1704
by: bonk | last post by:
Does anyone have a simple example on how to prohibit that any thread other than the current thread modifies a certain object (a collection) while we are in a certain section of the code? In other...
0
7125
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
7004
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
7167
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
7208
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...
1
6890
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...
0
7379
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
3095
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
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
292
bsmnconsultancy
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...

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.