On demand restricting for dangerous functions always enabled