Results 1 to 12 of 12
  1. #1
    Delfina is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Jan 2019
    Location
    Bartlesville OK
    Posts
    47

    Password Change Form

    I have made a password change form. It works. But I know it is not right. Could someone please take a look at it and point me in the right direction?
    Attached Files Attached Files

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    If you really want someone to look at it, then you need to supply a version that isn't locked down.
    You also need to provide user name /password
    Otherwise we're just wasting time removing security measures and guessing passwords etc.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    Delfina is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Jan 2019
    Location
    Bartlesville OK
    Posts
    47
    I have a security level, user table and user login form. I don't know what you mean other than that.
    I will look into version. I knew that was something I needed to figure out also. I am just trying to do this in steps.

  4. #4
    Delfina is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Jan 2019
    Location
    Bartlesville OK
    Posts
    47
    I finally realized what you were talking about. The username is Delfina and the password is halibut.

  5. #5
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,651
    Code:
    Could someone please take a look at it and point me in the right direction?
    There are a lot of different directions.
    Perhaps describe what you would like do.

    Is there an expiration date or event which should trigger the change request?
    Case sensitive? Required characters?

  6. #6
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    The user name / password was obviously helpful but only part of the issue.
    I also meant you should provide full menus, remove the custom ribbon etc
    As it was I had to spend a couple of minutes doing that myself

    To expand on moke's response there are several things you could do including:
    a) only allow a set number of password attempts e.g. 3 before closing the database
    b) check the case username and password e.g. allow halibut but not Halibut
    c) add provision for changing passwords e.g. after specified number of days

    I would definitely recommend doing a) at the very least

    Most important of all - if possible do NOT store passwords in your database
    If you must store the passwords in your database these need to be securely encrypted
    Using a password mask is no protection at all

    If you want a 'happy boss' (you should understand why I wrote that), you should securely encrypt your passwords so they aren't readable to users
    In fact I didn't even need to open your database to determine the usernames & passwords stored
    These are clearly visible in any text editor such as Notepad

    Click image for larger version. 

Name:	Capture.PNG 
Views:	21 
Size:	5.4 KB 
ID:	37469

    Recommend you look at my example login form application.
    It includes password expiry code and encryption together with additional features
    http://www.mendipdatasystems.co.uk/p...gin/4594469149
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  7. #7
    Delfina is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Jan 2019
    Location
    Bartlesville OK
    Posts
    47
    The code has:
    If (TempPass = "password") Then
    MsgBox "Please change Password", vbInformation, "New password required"
    DoCmd.OpenForm "Change Password", , , "[UserLogin] = " & UserLogin

    When they first receive the front end with "password" as the password, I would like for them to be able to change it. But then again I would like for them to be able to change it anytime they feel it is necessary. By the way, thank you for looking at this for me.

  8. #8
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    OK but that doesn't affect any of the points I made regarding password security
    Do have a look at the example I gave - all the code is available and you are free to use it
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  9. #9
    Delfina is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Jan 2019
    Location
    Bartlesville OK
    Posts
    47
    Apparently I had made that comment before seeing your comment #6. The login form application that you provided is amazing. Much more and above that I had hoped was possible. You are an amazing programmer.

  10. #10
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Thanks - its not a particularly complex bit of code but it was tricky to get the logic right
    Having said that, in this particular case I was building on the work of another extremely able programmer, David Crake

    FYI, I've started work on an enhanced version of that utility with several additional features
    That will be available in the near future but there will be a small charge for it.
    The free version will continue to be available as well
    If you are interested in knowing more, please email me using the link in my signature line
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  11. #11
    Delfina is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Jan 2019
    Location
    Bartlesville OK
    Posts
    47
    I would definitely be interested and I will send you an email.

  12. #12
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Got it & will reply later with details of additional features planned for that version
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 03-28-2017, 03:10 PM
  2. Change password form help
    By shod90 in forum Forms
    Replies: 1
    Last Post: 01-28-2016, 03:13 AM
  3. Replies: 1
    Last Post: 06-22-2012, 08:05 AM
  4. Change password form
    By funkygoorilla in forum Forms
    Replies: 8
    Last Post: 01-17-2012, 08:37 PM
  5. Change Password Form using VBA
    By anwaar in forum Programming
    Replies: 2
    Last Post: 09-02-2011, 01:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums