Restrict access to records in custom module

Restrict access to records in custom module

I need to restrict permission to records in custom module. For example:
1.  By user - only user who crated records have access to them.
2.  By custom module sub form - only user which id are added to custom module subform list have permission to these records.

It is possible to this in SDP and how?

                  New to ADSelfService Plus?