Receive a 403 when running Web Setup Wizard

After running security check, I have decided to move the docroot from html to pub. The consequences are now that I can not run the Web Setup Wizard. Any hints to be able to run the Web Setup Wizard again without compromising security?

Hey @Thierry, I hope you’re well.

I’ve been putting this off for ages because it seemed like an “over-precaution”. I’ll try to find some time soon to experiment with this and get back to you. I’m not sure if I recall correctly, but I think I remember thinking that it was a pain because you had to undo this every time you wanted to upgrade or install something. But I could be wrong as that was a very long time ago.