i need to build an interface FROM WHERE i can set the permissions for a file.

i have managed to build a list of all users and groups in my net work but how can manage to give them rights for a perticular file in VB

any ideas would be appriciated