This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fbidu
Recipients Windson Yang, benjamin.peterson, fbidu, vstinner, xtreak
Date 2018-09-27.12:04:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538049872.7.0.545547206417.issue34576@psf.upfronthosting.co.za>
In-reply-to
Content
Well, even if we do fix some security issues in SimpleHTTPServer, it doesn't change the fact that it shouldn't really be used for sensitive applications. I like how Django docs handles a similar issue regarding their development server (https://docs.djangoproject.com/en/2.1/ref/django-admin/#runserver)

> DO NOT USE THIS SERVER IN A PRODUCTION SETTING. It has not gone through security audits or performance tests. (And that’s how it’s gonna stay. We’re in the business of making Web frameworks, not Web servers, so improving this server to be able to handle a production environment is outside the scope of Django.)

I think that the same philosophy applies to SimpleHTTPServer. If the warning should be add to the docs, I'll be glad to issue an PR fixing it!
History
Date User Action Args
2018-09-27 12:04:32fbidusetrecipients: + fbidu, vstinner, benjamin.peterson, Windson Yang, xtreak
2018-09-27 12:04:32fbidusetmessageid: <1538049872.7.0.545547206417.issue34576@psf.upfronthosting.co.za>
2018-09-27 12:04:32fbidulinkissue34576 messages
2018-09-27 12:04:32fbiducreate