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

How to protect fields for passwords?

how can i have a password in some fields in a access file,that other persons can't access those fields?
Nov 14 '11 #1
2 4562
sierra7
446 Expert 256MB
Hi,
If the password is held in Access then a skilled user will alway be able to get in but some simple step are;
Stop users from seeing the Database Window. This can be done in the Start-up options in Access 2003 but is more complicated in 2010.(Google 'Access 2010 user interface' for Microsoft's full description)
Keep passwords in a none-obvious tablename (i.e not Passwords!). Right click the table and set it's properties to Hidden. But you must also go into settings and uncheck 'Display Hidden objects'. In Access 2003 Tools >Options >View. In Access 2010 File >Options >Current Database >Navigation Options >Display Options.
A further trick is to also uncheck 'Display System Objects' and prefix the table name with 'MSys'
You can also make life difficult for an intruder by checking their Network ID (Windows login name) and check names match, or exclude them or whatever.
S7
Nov 14 '11 #2
NeoPa
32,556 Expert Mod 16PB
S7:
You can also make life difficult for an intruder by checking their Network ID (Windows login name) and check names match, or exclude them or whatever.
That's very good advice and I would recommend this approach wherever possible.

However, if you have reasons why this is not appropriate for you, then the trick is to store your passwords in encrypted form (See AES Encryption Algorithm for VBA and VBScript, RC4 Encryption Algorithm for VBA and VBScript &/or SHA2 Cryptographic Hash Algorithm for VBA and VBScript).

Whenever the password is tested the entered value should be encrypted first and then checked against the data. It then becomes more important that your encryption algorithm is not too easily accessible to the common user of your database, particularly if it's an associative algorithm (where the same algorithm reverses the encrypted value to its original form).
Nov 14 '11 #3

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

Similar topics

11
by: siliconmike | last post by:
Is there a way to protect data files from access by root ? I have a data-centered website and would like to protect data piracy from any foot-loose hosting company employee. Any ideas? ...
2
by: rcamarda | last post by:
I need to store payroll information (pay rates) in my data warehouse. I've search on field level encryption and most the stuff i find is for passwords, I.E. not reversable. I need to protect the...
5
by: Brent Burkart | last post by:
I want to protect my website with a user and password. I have SQL Server 2000 where I want to store the users and passwords and the website is complete. I just need to add in some security with...
1
by: dwa | last post by:
All, We're trying to determine how to deal with password fields losing their state on a post back. We've got a form that implements post backs to carry out server side processing. As a result...
3
by: SpIcH | last post by:
Hi All, This is all about protecting my data in Executable file. I have developed a program in Visual Basic .NET 2002. I have many questions in mind... please help me to complete my project. ...
13
by: Alfa & Omega | last post by:
i have application whiwh uses username and password for each user .. All is in Microsoft access base on user's hard drive.. How can I protect that database from preveting user viewing it...or...
1
by: mr k | last post by:
Hi, I wanted to use mail merge with forms but Text form fields are not retained during mail merge in Word, I got the code from Microsoft but it doesn't remember the text form field options such as...
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...
8
by: Mike | last post by:
Hi, If protect MS Access with password it doesn't mean to much. On internet, we can find plenty tools for opening forgotten passwords etc. I have a small c# aplication wit large amount of...
7
by: cefrancke | last post by:
I have a few tables with sensitive user information (passwords, etc.) and I would like to prevent someone from opening a blank database and importing those tables. Is there a way to "hide" or...
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?
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
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
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
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 project—planning, 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.