473,405 Members | 2,154 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,405 software developers and data experts.

Password Protect and Read Only Database

29
Hi -

I would like user to open Access database and have a choice to either enter a password or click on a button that opens the database in 'read only'. I know this is possible with Excel, but I can't seem to figure out how to do this in Access.

Thanks!

Side Bar: In the past I was able to go to search in this website and it would list info pertaining to my search - I notice it's difficult to do that now. Example - before I would have typed in search "password protect read only" and I could usually find my answer. Now it says too many words or info not available. Is there another way now to search subjects? I hope so, because this website has been very helpful!
May 19 '07 #1
5 10165
ADezii
8,834 Expert 8TB
Hi -

I would like user to open Access database and have a choice to either enter a password or click on a button that opens the database in 'read only'. I know this is possible with Excel, but I can't seem to figure out how to do this in Access.

Thanks!

Side Bar: In the past I was able to go to search in this website and it would list info pertaining to my search - I notice it's difficult to do that now. Example - before I would have typed in search "password protect read only" and I could usually find my answer. Now it says too many words or info not available. Is there another way now to search subjects? I hope so, because this website has been very helpful!
I would like user to open Access database and have a choice to either enter a password or click on a button that opens the database in 'read only'
Since the Database is already 'Open', how can the User have a choice to either enter a Password or 'Open' the Database in Read Open Mode. the best you could do would be to have a Main Form with these 2 Options on it and mimic the Password and Read Only functionality.
May 22 '07 #2
rgsw
29
Thanks for your reply. I guess I wasn't clear. I know that you can create a password to open a database. I've done that before. However, I wondered if there was a way that if a person didn't know the password, they would have the option to click the database open in read only mode. I wanted to do that instead of using the user-level security option.

That may be what you explained in your answer, but I don't know how to do that.
May 23 '07 #3
jamjar
50
I've never tried the database password, but assuming that you're correct in that there is no way to bypass it - you either open with full access or don't open at all - then I would think you're going to have to either try:
  • the user-level security, or
  • special forms to query the user for a password and VB code to check it and then set the open forms Allow Edits / Deletions / Additions properties accordingly.
User level security is a pain, since you have to make sure users open using the proper workgroup, and since you have to be careful with ownership and not to have 'Admin' belong to 'Admins' etc etc, but it would be more secure than special forms, because the user could still open tables directly, even by linking from another database ....

Do you need a primer on user level security (note the whitepaper secfaq.exe from the MS site link above) or putting VB behind you forms?

regards-

James
May 23 '07 #4
ADezii
8,834 Expert 8TB
Thanks for your reply. I guess I wasn't clear. I know that you can create a password to open a database. I've done that before. However, I wondered if there was a way that if a person didn't know the password, they would have the option to click the database open in read only mode. I wanted to do that instead of using the user-level security option.

That may be what you explained in your answer, but I don't know how to do that.
Once minimal security is established on a Database via a Password, to the best of my knowledge, there is no way to open that Database in Read Only Mode bypassing the Password entry.
May 23 '07 #5
rgsw
29
Thanks for everyone's response. Going over everything, it does seem that assigning permissions to users is my best bet.
May 25 '07 #6

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

Similar topics

3
by: Narlen | last post by:
Hi there, I don't know much about web design but I proudly managed to password protect a page on my site. Later I realized that everyone looking at the source in any web browser can see the...
5
by: Geir Baardsen | last post by:
Hi! I wonder if anybody can help with the following: I need to password-protect tables in MyBackEnd.DB, which is placed in the same folder as the MyFrontEnd.DB Now I've tried the KB_209953...
4
by: sunniyeow | last post by:
Hi, My question is regarding password protecting 2 different folders inside a single virtual directory using forms authentication method. Easier if I illustrate things out... - <authentication...
5
by: Trev | last post by:
Hey, I have a complete frontend setup, the first window/form that shows up gives you an option of 3 databases. One of them will only need to be accessed by about 2 - 3 people within our...
3
by: Miro | last post by:
Why Password protect an MDB when someone can google and get a hack? Wondering if anyone else has thought of this and just said "oh well"... I plan to password protect an MDB where I have some...
0
by: jj | last post by:
Hi I'm exporting a module to a new database from VBA - I would like to convert it to an MDE-file, but have found out that i must be from a access2000 to work - therefore instead I would like to...
12
by: =?Utf-8?B?am9uaWdy?= | last post by:
I wrote a simple VB.NET application that imports and edits CSV files. Now I’d like to “lock” the raw (pre-import) CSV files so these cannot be opened separately. It is not high-sensitive...
22
by: teejayem | last post by:
Hi, I am new to programming with databases and was wanting some help. Is there any way to password protect an access database and access sent sql commands to it via vb.net code? Any help...
16
by: Greg (codepug | last post by:
If one converts that .mdb into an .mde the code is secure but the tables can still be imported. Just for Very Basic protection, I have placed a Password on the database using the "Set Database...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
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 projectplanning, coding, testing,...
0
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...

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.