There is a discussion in Gemini here, about server side code in HTML skins.
Gemini is not the place to discuss this, so I would like to continue here.
The discussion is about the question if this should be allowed, not how to...
IMO if you allow an admin to upload ASCX skins then there's no reason to not allow server side code in HTML skins.
(then there is no real security risk, so no gain and it would be a breaking change)
Unless you would split up the admin skin upload permissions in two options
1. Allow upload of HTML skins (no ASCX)
2. Allow upload of HTML & ASCX skins
Then if option 1. is selected, it would make sense to strip all server side code from the skin...
(This might have been discussed before)
Any opinions?
BTW, IMO the upload portal skin option should be per portal.