How To Manage User Authorization and User Access in Access 2013 🎓

  Рет қаралды 255,581

Programming Made EZ

Programming Made EZ

9 жыл бұрын

In this Access 2013 tutorial video, Steve Bishop explains how to manage the access that users have to your database application, also known as user authorization. This will help you limit which sections of your application that different users will be able to get to.
Click here for the Work Files:
github.com/Xipooo/Access2013H...
----------
Become a member today for only $5 a month!
/ @programmingmadeez
When you join, here’s what you’ll get:
* Your name in the credits
* A form to ask me for help on your project
* 10% off in the Teespring store (discount code)
----------
Looking for DAILY content? Join us on my other channel “Coffee With Steve” for daily videos where we discuss Technology, Software Development, Politics, Culture, and many other things.
Coffee With Steve: / @coffeewithsteve

Пікірлер: 265
@evaarizona1184
@evaarizona1184 8 жыл бұрын
Thank you Steve. I've worked in Access several years, but this is the first time I've had to use VBA for my databases. Your videos have been very helpful.
@alexsessantasette421
@alexsessantasette421 3 жыл бұрын
I saw just now your tutorial and I would thank you for your clarity, skill and competence in explain all the topics.
@ahamedfof829
@ahamedfof829 9 жыл бұрын
It has been a great experience watching your videos. Am glad that I met someone of such wisdom that I am hungry for now. Thank you so much for been an agent of change in my life and future career. CONGRATS Steve
@roberthall4234
@roberthall4234 2 жыл бұрын
Steve, this video tells it all. I have been all over the internet trying to find someone to follow that can direct me the way that Relational Database Management Systems truly manage data. I have still some issues with Normalization and Relationships holding me back, but when i go back to videos that you produce like this one as an example, I am truly leaning this way again. This video seems to reduce the opportunity of outsider hacking substantially. I am pretty darn sure that there is not to too much more that you can do, to keep your users on a solid path in teaching them, that at that time to follow path that has been set out for them, and over time with some simple proof of service, they also can find themselves moving up the ladder and taking on more responsible roles over time. But the framework is in this video to keep your users within the scope of the roles set out and over time permissions or roles do change based on their history. So well done Steve, you are truly a master of disaster, prevention that is . . .
@MRGhass
@MRGhass 8 жыл бұрын
Very helpful Steve, I've learned a lot from you and i'm still learning you are my favorite VBA tutor ever. please keep it up and thanks a lot :)
@ProgrammingMadeEZ
@ProgrammingMadeEZ 8 жыл бұрын
+MRGhass Thank you so much for the kind words. I am glad you are enjoying the videos.
@atlantakick
@atlantakick 9 жыл бұрын
Nice to have you back! I look forward to your insightful videos.
@ProgrammingMadeEZ
@ProgrammingMadeEZ 9 жыл бұрын
atlantakick Thank you atlantakick. I'm glad I could get something up for you guys. It has been a while.
@mukaonesimas
@mukaonesimas 6 жыл бұрын
THIS GUY IS THE MOST POWERFUL TEACHER OF PROGRAMMING, I HAVE NEVER FAILED TO UNDERSTAND HIM.
@cam_DA_Hawkdriver
@cam_DA_Hawkdriver 8 жыл бұрын
Good job Steve. I appreciate your willingness to share your talent. God bless!
@ngocta999
@ngocta999 7 жыл бұрын
Thank you very much for your tutorial Steve, I'm currently attempting to build a training database for my department and your videos are really helpful.
@garycurtis
@garycurtis 3 жыл бұрын
Such an amazing presentation, not to mention how helpful this is for the project I am working on, I had to sign up for a membership. Thank you so much.
@MrRichieX
@MrRichieX 8 жыл бұрын
Big fan of your series and instructional style. Thank you for posting.
@maurices1531
@maurices1531 2 жыл бұрын
thank you Steve for your tutoring videos. I really enjoy learning and putting your teachings to practice.. very, very helpful.. thanks again and keep up..
@BasudebChakraborty
@BasudebChakraborty 9 жыл бұрын
You are awesome dude ... I watched your all videos earlier .. And this one is very helpful.. Thank You Steve ..
@fredrickmaingi6600
@fredrickmaingi6600 5 жыл бұрын
Thanks a lot Steve, you are great at sharing knowledge!
@michaelsacdalan7914
@michaelsacdalan7914 9 жыл бұрын
Great video. Very useful and easy to follow. Great job!! Salute!
@freebird7556
@freebird7556 6 жыл бұрын
Thanks.. Steve. I always think you are the best for the Access programming teaching!!!!!
@JWEERASINGHE
@JWEERASINGHE 6 жыл бұрын
Thank you, Steve _ Great video. Very useful and easy to follow.
@vaticanking
@vaticanking 3 жыл бұрын
Thank you Steve, your tutoring is absolutely the best
@MarcusDieterle
@MarcusDieterle 9 жыл бұрын
Thank you Steve. Great Video again.
@kailashsati4983
@kailashsati4983 5 жыл бұрын
Excellent content. Beautifully explained.
@bennetgikunoo160
@bennetgikunoo160 2 жыл бұрын
Great job. Three ways to check password authentication very intuitive and advanced. Thanks.
@mccmnazain
@mccmnazain 2 жыл бұрын
YOU ARE THE BEST... very helpful Steve
@accountsecoprotection6605
@accountsecoprotection6605 6 жыл бұрын
steve thanks a lot. loads of love to you
@chal9230
@chal9230 4 жыл бұрын
Thank you, learned a lot. Like your mode and pace.
@attashabib1390
@attashabib1390 6 жыл бұрын
Steve, you are a great teacher.
@soryaheng428
@soryaheng428 7 жыл бұрын
Thank you Steve, it is very helpful and I have learned a lot for you
@ProgrammingMadeEZ
@ProgrammingMadeEZ 7 жыл бұрын
Good! I am so glad to hear it.
@Y2luisroman
@Y2luisroman 9 жыл бұрын
very nice tricks. very useful video.
@Beast_Mode_187
@Beast_Mode_187 8 жыл бұрын
Fantastic, thank you bro.
@SuperHanme
@SuperHanme 7 жыл бұрын
you are smart! It's great. Thank you.
@21zafage
@21zafage 8 жыл бұрын
Great! Marvellous tutorial!
@johannessheriff5066
@johannessheriff5066 5 жыл бұрын
Awesome, Thanks very much man.
@russelmorgan3524
@russelmorgan3524 7 жыл бұрын
Fantastic information and thank you for sharing.
@ProgrammingMadeEZ
@ProgrammingMadeEZ 7 жыл бұрын
You are very welcome!
@janezklun
@janezklun 9 жыл бұрын
Great video, very helpful, thank you Steve Best regards
@ProgrammingMadeEZ
@ProgrammingMadeEZ 9 жыл бұрын
janez novak Glad you enjoyed it janez!
@maciejolejnik6706
@maciejolejnik6706 3 жыл бұрын
VErry good job! THX its helpfully!
@niavras
@niavras 3 жыл бұрын
Great video, thank you!
@omersharif3823
@omersharif3823 3 жыл бұрын
It would have taken me three lifetimes to do it. THANKYOU! GOD BLESS!
@petit0renard
@petit0renard 6 жыл бұрын
Thank you !!! You're awesome !
@hr.sanders
@hr.sanders 5 жыл бұрын
great as always thanks a lot
@piorosellmigone7012
@piorosellmigone7012 5 жыл бұрын
Very Useful !, thanks
@AliTwaij
@AliTwaij 4 жыл бұрын
very nice thankyou, useful info
@RichardNickyBrian
@RichardNickyBrian Жыл бұрын
This video is really help and I am still enjoying them. God bless your effort for helping us with your knowledge. If I may ask, can you teach us or any ideal on "how to generate or create a licenses key/product key/serial number with an expiry date like (Non-Expiry, 6 months, 1 Year....etc) for your database. Maybe Offline or Online. I hope to hear from you. Thank you once again for your time. Love you.
@piorosellmigone7012
@piorosellmigone7012 5 жыл бұрын
Thanks Steve!
@JJsANSWER
@JJsANSWER 9 жыл бұрын
THANKS A MILLION!!!
@cherqaouielhabib9386
@cherqaouielhabib9386 8 жыл бұрын
Very helpful !
@ziadfawzi
@ziadfawzi 7 жыл бұрын
Thank you very much.
@lakshmanbenelliindia2038
@lakshmanbenelliindia2038 4 жыл бұрын
good one Steve it will helpfull
@rondaficklin5410
@rondaficklin5410 8 жыл бұрын
I have found your videos to be exactly what I need at the time I need them. Thank you so much for what you do. I had lots of fun restricting users from forms, but would like some help (or point me to the video) to restrict form fields for those that should have read only access. I created that as an option in my UserType table (you might have called it employee type). When the form loads, would love for only those with read/write access (or higher) to be able to modify fields (change table values). THANKS AGAIN
@ProgrammingMadeEZ
@ProgrammingMadeEZ 8 жыл бұрын
There are several ways to address this. I've seen people use a field with a numeric value to hold the access level. 0 is no access, 1 is read access, and 2 is read/write access. Then just check the value for the user and the section in a case statement to determine what the control appears like. Hidden for 0, visible but locked for 1, and visible unlocked for 2.
@mradamrobson1
@mradamrobson1 5 жыл бұрын
Brilliant info
@rafikmoses172
@rafikmoses172 5 жыл бұрын
Great well done
@amrmsa
@amrmsa 8 жыл бұрын
Thanks Steve , you are Guinness :) , this is very helpful
@ProgrammingMadeEZ
@ProgrammingMadeEZ 8 жыл бұрын
+Amr Salah I'm not sure if being an Irish Lager is a compliment or not but I'll take it!
@ludovicvinkesteijn6514
@ludovicvinkesteijn6514 7 жыл бұрын
very need! can we so something the same with tables, queries and macros? i really admire the efforts to make those clear session on the topic. i pickup many new technics. keep going. cheers.
@adaguilarh
@adaguilarh 5 жыл бұрын
Hi thanks for the video very helpful. You have another video explaining how to control what data (not form) can a person see and modify. For example sales representative can only see employees from sales department
@ProgrammingMadeEZ
@ProgrammingMadeEZ 9 жыл бұрын
+Carol Taylor The compare binary will work fine. Unfortunately there's not much you can do about the warning message.
@KeffelewAssefa
@KeffelewAssefa Жыл бұрын
Thank you
@gmozx
@gmozx 8 жыл бұрын
great tutorial!!!
@ProgrammingMadeEZ
@ProgrammingMadeEZ 8 жыл бұрын
+Monzili “Germain” Mozagba Thank you!
@Benjaminwize
@Benjaminwize 6 жыл бұрын
thanks u so much so much!!!!!!
@angeldsouza5712
@angeldsouza5712 6 жыл бұрын
Thanks a lot Steve, big fan of ur videos Q. Can we link another database with the main database and when the form is submitted save database in another database ( not updating the linked access)
@ProgrammingMadeEZ
@ProgrammingMadeEZ 9 жыл бұрын
@Tyrielle Cole, that code has to do with the login process, not the logging of activity.
@mohammedmhedisaleh8271
@mohammedmhedisaleh8271 7 жыл бұрын
Programming
@dbdata9836
@dbdata9836 3 жыл бұрын
thanks
@lisaperry6663
@lisaperry6663 5 жыл бұрын
Hello Steve, Thank you so much, you are wonderful and helped so much. I do have one issue, on the Onload event, I have another piece of code that is filtering the form by Division … how do I add this other piece of code (user access) so they both worked. I did try Else but it did not work. I appreciate any help. Lisa
@ComeauSoftwareSolutions
@ComeauSoftwareSolutions 5 жыл бұрын
Thanks. I did not know about the TempVars collection. I can see myself using it in the future.
@kathrynbloodgood4117
@kathrynbloodgood4117 6 жыл бұрын
I am looking for the coding needed to disable the Close Access button on my Access 2013 database. I have watched several of your tutorials and I love how simple you make learning the VBA coding. Could you possibly help me figure this out? I would really appreciate it.
@tonysnell3914
@tonysnell3914 2 жыл бұрын
Excellent Video, followed step by step and all worked as should, however I did find that if the form I have put the ‘On Load’ code on, is a subform. I first get the “You do not have assess” message box as I should but when I click OK, it opens anyway. Any suggestions on how to prevent this?
@TheAceOfSmarts
@TheAceOfSmarts 7 жыл бұрын
Thank you - your videos are very helpful. Is there a way you can also control user access to tables and design view using this approach?
@ProgrammingMadeEZ
@ProgrammingMadeEZ 7 жыл бұрын
No. You should be making tables and design views inaccessible by disabling those features. If you watch my Programming In Access 2013 series, you will see how to do that in the later videos.
@chuck62875
@chuck62875 3 жыл бұрын
Awesome help! Im only running into one problem if the form is set to MAX on open. The form opens, then the popup tells them they dont have access
@michaeljones3675
@michaeljones3675 8 жыл бұрын
Good Day Steve. I recently came across your tutorials, which I have found very useful, and although I have a fair knowledge of Access i have not done a lot on Modules. I have just finished using your Login tutorial and everything works fine. I am now moving on to your How To Manage User Access tutorial. Checking what I need in the Db I am using when I open the Modules in the Navigation pane I cannot see the module for the Login. If however I look at the Login Form and open the properties for the UserName and Password there they are. Is this correct or have I done something wrong when creating the Module for the Login. Looking forward to your help ( with maybe many more questions to follow) I appreciate your time. Regards Mike
@MrDparry09
@MrDparry09 7 жыл бұрын
Great video Steve! I am having trouble with my administration login section. When I log in as admin it doesn't really do anything different than the other profiles that I created. I might not fully understand it but I thought by turning the Bypass Key on that it is basically like opening the database while holding shift. Is this accurate? What exactly is turning the Bypass Key on do?
@darrellrisley
@darrellrisley 8 жыл бұрын
Fantastic series, Steve. Much appreciated. Could this approach be used to Enable and /or disable multiple controls on a form? I currently have a form that different usertypes can access, but I only want 3 user types to be able to make changes to 3 of the controls on the form.
@ProgrammingMadeEZ
@ProgrammingMadeEZ 8 жыл бұрын
Yes. You can just set the controls enable property equal to the result of the check of the user access.
@alemonalemon1874
@alemonalemon1874 6 жыл бұрын
hi steve thanks for the great video. I have tried your tutorial regarding creating a login screen and it did go well however when I tried to add this new code for managing user in my login form starting from tempvar it seems that other user except for the one i declared in "If rs!EmployeeType_ID = 1 Then" is not going through my log in page and also there is no error appearing on it. hope for your advice. thank you.
@Aon1973
@Aon1973 4 жыл бұрын
Thank you for video tutorials you posted. I found they are very informative and helped me to write vba code. If I want to restrict user to only access subset of all records( e.g a user has access to one or multiple departments), can I replace object form as field name using this approach ? Thank you
@codekabinettcomen
@codekabinettcomen 4 жыл бұрын
You need a query that filters the records based on the department matching the Tempvar EmployeeType. (Assuming dept. and EmployeeType are the same)
@LarsPoignant
@LarsPoignant 7 жыл бұрын
Thanks a lot! This is very hepful. /Lars
@ProgrammingMadeEZ
@ProgrammingMadeEZ 7 жыл бұрын
Glad to help!
@erikaberoard2011
@erikaberoard2011 2 жыл бұрын
Hi Steve, your video is very helpful. I do have a question. While creating your tbl9EmployeeAccess, do you follow the basic database normalisation? I am asking because I would like to apply this procedure to many of my form and for each of them I will have to repeat 3 times the record and change only the HasAccess. Can we do it the same and follow the database normalisation? Thank you in advance!
@Philippogz
@Philippogz 6 жыл бұрын
You da man.
@mayagaming2968
@mayagaming2968 2 жыл бұрын
Will tempvars work like sessions variable in web environments?? So that moultiple users login at the same time with out mess up the values stored ??
@accountsecoprotection6605
@accountsecoprotection6605 6 жыл бұрын
its very much usefui
@robinalexander3434
@robinalexander3434 5 жыл бұрын
This was a very helpful lesson. I'm wondering if the same user access functionality can be applied to a tabbed form, where all users could see the first tab (page), but only certain users can see the other tabs (pages). Thanks!
@navisalomi
@navisalomi 2 жыл бұрын
Yes. Create a function that returns a boolean. Specify the employee type that should have access in an array. Loop over the arrays of employee type, then return true or false for each page per employee type, A Select Case per employee type would be needed, then you specify the return value for each page. You would need global variables to hold the page boolean properties returned by the function (you can use the tempvars ("page Name") to hold the function return value. On the OnLoad event of the Main Form: Page.visible = tempvars("pagename") and you should be good.
@mostafaelhaj8391
@mostafaelhaj8391 7 жыл бұрын
Hello Steve I wanted to know how to creat a bulk or group login For example we have several sales groups or different companies are using the same app with multiple users at different security levels but all of them as a group can only see records associated with their company or group I hope I was clear enough ! And thank you again I learned a lot from your videos
@BrewHaGamers
@BrewHaGamers 6 жыл бұрын
how does this work when you have multiple people logging into the same database? wouldn't that effect Tempvalues? i have one file location for a department or should i make links to new data bases that these members download to their desktop.
@johmono
@johmono 4 жыл бұрын
Very informative and helpful. How can I go to the link to get your source code. Thanks
@ValerioRizzolo
@ValerioRizzolo 4 жыл бұрын
hi steve, there is a db example? tks
@pauloazevedo3862
@pauloazevedo3862 7 жыл бұрын
Muito Bom ......
@emmanueltauseseha1608
@emmanueltauseseha1608 4 жыл бұрын
Ok you have used the codes to code the login form how about if someone who is familiar with those codes can they use the macros to do those codes made for the access to on the longing form instead of him/her typing in codes, please your advice is much needed.
@bluebelllily1431
@bluebelllily1431 7 жыл бұрын
hi i need help. i dont have globals under the module. what can i do?
@kennislora
@kennislora 7 жыл бұрын
okay, one other questions. Due to having a lot of different forms that different groups will need to have access to, i'm trying to see if there's a way to create a short cut, through creating two separate "launch menus" that load after the user logs in, utilizing the employeetype_id thought. Admins with employee type 1 would go to "frm_launch" and users with limited access (employee Id =2) to pull reports and view read only tables would go to "frm_smllaunch". The code i was trying to use would go at the end of the vba for the login form, after adding and hiding employee type onto the form. I've run it, and regardless of what person i put in, all are going to frm_launch, even if their employee type is 2. Here's what i've done- is this anywhere along the route to success? Thanks! If rs!Password = Nz(Me.txtpassword, "") Then txtempl = employeetype_ID End If If employeetype_ID = 1 Then DoCmd.OpenForm "frm_launch" DoCmd.Close acForm, Me.Name ElseIf employeetype_ID = 2 Then DoCmd.OpenForm "frm_smlaunch" DoCmd.Close acForm, Me.Name End If
@ristantosky
@ristantosky 5 жыл бұрын
Dear Steve , do you have tutorial for user session management? example there are 10 user with different privileges , there are logout button to destroy the session (or there are other efficient technique to attempt this). Each user can not view other user input list (each user can only view their own created records). All in ms access matter.
@drabd0o
@drabd0o 4 жыл бұрын
Thats great lesson , but i have two questions 1- when i have more than one form to each user 2- i want to have more than user access to the same form but with different accessibility
@jungjungdelosreyes4147
@jungjungdelosreyes4147 4 жыл бұрын
Hi Steve, I'm learning mostly from your tutorials and I comparing to others in KZbin and you are the best! I want to be a member in your channel. Right now I'm working on this log Screen for my project Auto-email reminder in our office, kindly consider me because along the way, I do have some questions/issues which you might help me. Thank you so much. By the way where I can download this code?
@williamcook6893
@williamcook6893 4 жыл бұрын
I can only see the back end. Even after setting up myself as an employee with a password it doesnt open because the path is incorrect. How do I set the path?
@ristantosky
@ristantosky 6 жыл бұрын
How to protect viewing data each user based on logged in user. (what ever his previlege) Example: when userA logged in to database, he can't see any data inputted from userB or userC. How to do that?
@rampritam1983
@rampritam1983 5 жыл бұрын
It's very good Please tell me it will be work with multiple user at same time?
@codekabinettcomen
@codekabinettcomen 4 жыл бұрын
Yes, it will. - Recommendation: Every user should have his own copy of the frontend file on his local computer.
@snotboogie9134
@snotboogie9134 6 жыл бұрын
FYI... If you're using 2016 you need to put your module in [module]. I kept getting syntax errors because of that.
@ryllen1707
@ryllen1707 7 жыл бұрын
Hello, sorry for asking this dumb question here, may I know how to open the work file given? I keep getting [Run-time error 3044: 'c\user inger\desktop\database\service inc_be.accdb' is not a valid path. Make sure the path name is spelled correctly and that you are connected to the server on which the file resides] when trying to login from the fe file. Is there anything that I missed?
@jescuderi
@jescuderi 3 жыл бұрын
I wrote code to integrate my user table to an LDAP query function against our AD. This checks who they are logged in as and then only gets them what they have rights to see. No additional login prompt or password storage in an unsecure database. Great video though.
@abdulrameez151
@abdulrameez151 4 жыл бұрын
It is the symbol which is used after every speech brackets. Looks like a small 6
@steventaylor6057
@steventaylor6057 Жыл бұрын
Hi, I wonder if anyone can help me. I think I missed a step. at 17.48, where You are talking about "TempVars" and using "EmployeeType_ID" I didn't see any of this (And much more of the code on this screen) in your "Live coding build a login screen". Can anybody help?
@muhammadfadhil531
@muhammadfadhil531 5 жыл бұрын
Hi Steve thanks a lot, but how can i open the Front end database ? database ask me to log in, but i don't have any login id and password, please help me
@norfify
@norfify 5 жыл бұрын
Hey Steve, the video is a few years old but i hope you will answer my question nevertheless. If I split my database into front- and backend, the users see all connected tables in their frontend as well. Theoretically they can see so any informations from the tables, also the passwords of the other users. How can I prevent this? The other point I want to know is, how can I prevent that users simply write informations directly into the tables even if the equal formular is locked for them? How can I prevent, that the users can see the content of the connected tables? Thanks a lot! :)
@deltekkie7646
@deltekkie7646 4 жыл бұрын
I tried this but for some reason it is not blocking access to restricted forms. In this section of code: DLookup("HasAccess", "tbl9EmployeeAccess", "EmployeeType_ID=" & TempVars("EmployeeType") & " AND FormName='" & FormName & "'") If the "EmployeeType_ID" referencing the tbl9EmployeeAccess table or tbl2EmployeeTypes table? Thanks.
@DrivetoSuccess13
@DrivetoSuccess13 7 жыл бұрын
Hi Steve, i tried ur video step by step but i can't pass the login screen its say password wrong . what did i do wrong here need ur help? Thanks
@user-pc3xb4hd8i
@user-pc3xb4hd8i 2 жыл бұрын
Hello, we are 5 mutli-users on Access working on a front end database that connects to a back in database. Our company pushed out an auto update of MS Office 2013, and all of a sudden only 1 user can get in at a time; normally all users can be in working at the same time with no "Locking" in records. The error we get is that the '...backend accdb file is already in use'. Again, the program works fine for 1 user but nobody else can connect to the backend simultaneously. How do we fix this? Thank you.
How To Log User Activity In Access 2013 🎓
27:13
Programming Made EZ
Рет қаралды 118 М.
59. Securing Your Front End (Programming In Microsoft Access 2013) 🎓
16:55
Programming Made EZ
Рет қаралды 220 М.
Can You Draw A PERFECTLY Dotted Circle?
00:55
Stokes Twins
Рет қаралды 40 МЛН
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 14 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 100 МЛН
How to generate reports between any two dates on a form in MS Access
24:29
DataTechs Tutorials
Рет қаралды 9 М.
56. Creating A Classic Login Form (Programming In Microsoft Access 2013) 🎓
28:00
How To Create A Keyword Search in Access 2013 🎓
24:54
Programming Made EZ
Рет қаралды 342 М.
How to Add Simple User-Level Security to Microsoft Access Databases
26:44
Computer Learning Zone
Рет қаралды 34 М.
5 Ways to PROTECT Ms Access Database
9:36
Edcelle John Gulfan
Рет қаралды 12 М.
Manage users permissions in access (English)
9:41
askfarouk
Рет қаралды 35 М.
Can You Draw A PERFECTLY Dotted Circle?
00:55
Stokes Twins
Рет қаралды 40 МЛН