473,800 Members | 2,599 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating DB "user accounts" with passwords and restrictions...

135 New Member
Hello

Iam about to finish my first DB and i was wondering about security, which is the easiest way of creating "user accounts" with passwords and restrictions??? ?

Thanks
Sep 20 '07 #1
2 2076
ADezii
8,834 Recognized Expert Expert
Hello

Iam about to finish my first DB and i was wondering about security, which is the easiest way of creating "user accounts" with passwords and restrictions??? ?

Thanks
Access Security is both a complex and confusing fellow, be ready for a rough ride. Just a couple of pointers to get you started:
  1. Create User and/or Group Accounts via Tools ==> Security ==> User and Group Accounts.
  2. Create User-Level Security via Tools ==> Security ==> User-Level Security Wizard.
  3. Assign Permissions to Groups not Users, then move Users into these Groups.
  4. Remove all Permissions from the Users Groups and reassign them to a new Group (the Users Group is Global).
  5. Remove the Admin Users from the Admins Group once a new User within Admins has been created (like the Users Group, the Admin User's account is Global).
  6. Do a lot of research/reading before you attempt any of this.
  7. Backup the original Database and Workgroup File (System.mdw), Backup the original Database and Workgroup File (System.mdw), and Backup the original Database and Workgroup File (System.mdw).
Sep 20 '07 #2
NeoPa
32,579 Recognized Expert Moderator MVP
Unless you're using Windows 98, Millenium or an earlier (non-NT based) version of Windows, the users name (generally network ID) is available as the environment variable UserName (Environ("UserN ame")). There are other ways of getting this which are more reliable (after all anyone can change their environment variables if they know how to).

However, I often do security based on this value. The code would have to check it for allowed users (searching through a list of such allowed users is quite simple) before continuing or showing a message explaining the user is not cleared to run the task.

This increases coding overhead (by a little or a bit more depending on how organised your code is) but is a lot more "simple" than using Access security. I've used that, and though it is usable it's a pain for all involved - users and admins.
Sep 20 '07 #3

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

Similar topics

2
3721
by: jissay | last post by:
Hi, I use the following scrit in an Intranet with the user name = "" and the password = "" : <?php $ftp_server = "192.168.25.25"; $ftp_user = ""; $ftp_pass = "";
1
3344
by: twhan twhan via .NET 247 | last post by:
Hi, currently i am developing a Radius server application. Cananyone show me how can i unpack the "User-Password" attribute sothat i can get back the password in plain text so that i canverify it against my database. For example, the user entered password "testpassword". Assumethat the shared secret between the NAS and my radius server is"testshared". I am totally unfamiliar with .NET encryption (MD5,XOR), so please provide some sample codes if...
4
2758
by: Guadala Harry | last post by:
Is there any way for one Session to remove and update objects in another Session? I seriously doubt it, but thought I'd ask. Here's why: I have some data that is unique per user (or per session - similar to "welcome back, Jim" after Jim logs in) and consumed across multiple pages. This "per user" data lives in a database, so toward improving runtime performance I want to cache data supporting this and similar per user features. Because the...
3
2555
by: Michael Tkachev | last post by:
Hello, I need to create an "Excel" file in the ASP.net. But a security system doesn't allow to do it. What can I do? There is an exception heppens when I try to execute the following row: Excel.ApplicationClass c = new Excel.ApplicationClass(); Exception Details: System.UnauthorizedAccessException: Access is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the...
4
4427
by: Ying Lu | last post by:
Hello, I have a table named "USER" under MySQL database. When I am trying to move tables from MySQL to PostgreSQL, I found that I could not create a table namely "USER". I guess "USER" is a key string used by PostgreSQL system so that we could not create a table named "USER". Is that true? Thanks a lot, Emi Lu
0
2550
by: FrankieBakerJr | last post by:
Hello all I have an ASP.NET 2003 application (running Windows XP) that allows user to change and reset their Active Directory password. I'm using an admin account to query and reset the passwords once the user enters criteria to identify themselves. I want to check, in code, the Account Option "User cannot change password" in Active Directory to determine if they can or cannot change their password but I don't know how to do that. Any help...
4
2300
by: Scott McNair | last post by:
Hi, I'm creating a user control that has absolutely no visual pieces to it... it's essentially a piece that sniffs a serial port awaiting incoming data. I know that there are several controls that come natively with .NET that don't actually reside on the form, but go to the bottom area, such as for example database-related controls. How would I go about setting my own control to do just that? Otherwise I'm left with the quandary of...
1
2319
by: brooksje | last post by:
I am looking for a good way to use password security and user level access control with an Access 2003 database. I got code that does a good job of creating a login procedure using a table of names, passwords, and levels of access granted to each user. The users now log in but so I need to get to the next step of controling which forms/reports users can open, and if possible which records they can view. I was hoping to store the login...
0
9690
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, 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...
0
10274
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 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...
1
10251
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,...
0
10033
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
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, 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...
1
7576
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 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...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.