Message326555
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! |
|
Date |
User |
Action |
Args |
2018-09-27 12:04:32 | fbidu | set | recipients:
+ fbidu, vstinner, benjamin.peterson, Windson Yang, xtreak |
2018-09-27 12:04:32 | fbidu | set | messageid: <1538049872.7.0.545547206417.issue34576@psf.upfronthosting.co.za> |
2018-09-27 12:04:32 | fbidu | link | issue34576 messages |
2018-09-27 12:04:32 | fbidu | create | |
|