Dynamically managing web.config for authorization?
问题 I'm using a CMS (N2) to manage a new website. The CMS includes functionality for uploading files using the filesystem (not binary in DB, which is also possible, but I want to use filesystem). Some of the subfolders in the uploads directory need to be secured. This can be done using authorization elements in (a sub) web.config as stated here. Users and roles are managed through the admin interface and are managed by my CMS administrator. Some roles are added dynamically based on certain