Network security assignment