Relative Content

Tag Archive for pythonwindowsflaskiis-8wfastcgi

Configure IIS for restricted access to Flask

I created a very simple Flask server on my Windows system (i’m not on windows server) using wfastcgi and manually configured the web.config file to be able to run it within the python venv environment. The server works correctly, but I noticed that the identity in the application pool is set to LocalSystem, which, as I understood, allows access to all operating system functionalities. Following some guides on the internet, I understood that the correct configuration to set would be to set the identity to ApplicationPoolIdentity in the application pool and create permission users IUSR and IIS_IUSRS.