define security for memory and disk model