1. A method for granting a user secure access to one or more resources accessed by a process, the process being defined in a Service-Oriented Architecture (SOA) registry and comprising one or more process-steps, each process-step accessing one or more resources stored in an SOA repository, the method comprising: a. during an execution of the process, for each resource accessed by at least one of the process-steps, creating an entry in the SOA registry determining the accessed resource; b. creating a process-instance associated with a respective process-step-instance in the SOA registry, the process-step-instance representing a respective process-step, and creating a process-instance-role in the SOA registry; c. creating, for each resource accessed by at least one of the process-steps corresponding to the respective process-step-instance, an access privilege in the SOA repository that grants access to the respective resource for the process-instance-role; and d. assigning the process-instance-role to the user.