J
Jesper Stocholm
I would like to be able to load a Control (ASCX) that is placed in a folder
outside webscope - but with read/write ability for IUSR/ASPNET-process. I
usually use Page.LoadControl() to load my controls [0], but this method
requires a _virtual_ path - and it does not permit paths that go "above"
the root folder of the virtual directory/website.
Is there a way arround this?
I need it since I am building a small CMS that will allow the admin-users
to either upload their own controls via FileUpload or have the CMS create
the control-file/code itself. If I cannot work around this, I will need to
create write-permissions on a folder within webscope, and for security-
reasons I do not like to do this.
Any help will be greatly appreciated..
)
[0] Using Page.LoadControls("~/controldir/mycontrol.ascx");
outside webscope - but with read/write ability for IUSR/ASPNET-process. I
usually use Page.LoadControl() to load my controls [0], but this method
requires a _virtual_ path - and it does not permit paths that go "above"
the root folder of the virtual directory/website.
Is there a way arround this?
I need it since I am building a small CMS that will allow the admin-users
to either upload their own controls via FileUpload or have the CMS create
the control-file/code itself. If I cannot work around this, I will need to
create write-permissions on a folder within webscope, and for security-
reasons I do not like to do this.
Any help will be greatly appreciated..
)
[0] Using Page.LoadControls("~/controldir/mycontrol.ascx");