Fix segfault and secure setting check, and don't allow accessing frequently executed files