No.
The Windows security model applies permissions to users, not code. Code always inherits the permissions of the user who executed it.
It sounds like you're developing an Access database. A few points should be noted:
- It's not possible to delete an Access database while it's in use. Access locks the database file while it's open and as a result Windows will not delete it. This reduces the opportunities users have to delete the DB.
- Depending on the version of the Access database, you can restrict internal changes with User level security. This feature is not available if the database uses one of the newer .accd* file formats.
Alternately, put the database in something like SQL Server and simply build an Access front end for it. User authentication in SQL Server is granular and instead of granting users access to the entire database, they're only able to access the portions the admin gives them permission to.