Solving security issues (user and group permissions)