Setting the partial security mode