보안 고려 사항¶
다음 모듈은 특정 보안 고려 사항이 있습니다:
hashlib: all constructors take a “usedforsecurity” keyword-only argument disabling known insecure and blocked algorithmshttp.server는 기본적인 보안 검사만 구현하므로 프로덕션 환경에 적합하지 않습니다. security considerations 를 참조하십시오.shelve: shelve is based on pickle and thus unsuitable for dealing with untrusted sourcestempfile: mktemp is deprecated due to vulnerability to race conditionszipfile: maliciously prepared .zip files can cause disk volume exhaustion
The -I command line option can be used to run Python in isolated
mode. When it cannot be used, the -P option or the
PYTHONSAFEPATH environment variable can be used to not prepend a
potentially unsafe path to sys.path such as the current directory, the
script’s directory or an empty string.