Yes, it makes sense.
If you want a user with different privileges to be able to edit the data in
the form/subform, you can wrap the code I gave you in an If statement. For
example, if you have a function which returns true for a user who has
entered the password, you would put:
If Not PrivilegedUser then
Me.AllowEdits = Me.NewRecord
Me.Controls("sbfrmName").Form.AllowEdits = Me.NewRecord
End If
If you want to do it so that it's really secure, your best course would be
to use the Access security system for your application. However, it's not
for the faint-hearted or casual user. Are you are using it already - is
that where your passwords are implemented? You can do it using other
methods, but it's impossible to stop a determined & knowledgable person from
bypassing those methods. It may be adequate depending on your particular
situation.
HTH,
Rob