would it be an option to restrict public access to the parent node? I'm pretty sure that if you restrict the parent page all child nodes will be restricted as well.
Otherwise it might be worth writing a simple .Net usercontrol that checks if the current user is authenticated, if not redirects to the login page (you might need to look at the mechanism to automatically redirect the user back once he's logged in) and then place that usercontrol on all the templates under that one node (or place it on the master template).
You might be able to do it through the /App_data/access.config file, which is the place that the configuration for public access is stored as far as I know.
Try and set up at couple of page through the UI, and then you might be able to copy/paste it directly in the file to set it up (or create the xml using an xslt macro). I am not 100% sure, but I think this is the only place that the information is stored.
Public Access
Hey.
I have a page with about 200 nodes under ant all the child nodes need to have access restrictions.
Is there a easy way to insert this access control to all child or do i need to manuel create the restriction on every pages?
Best regards
Christian
Hi Christian,
would it be an option to restrict public access to the parent node? I'm pretty sure that if you restrict the parent page all child nodes will be restricted as well.
Otherwise it might be worth writing a simple .Net usercontrol that checks if the current user is authenticated, if not redirects to the login page (you might need to look at the mechanism to automatically redirect the user back once he's logged in) and then place that usercontrol on all the templates under that one node (or place it on the master template).
Hope that helps,
Sascha
You might be able to do it through the /App_data/access.config file, which is the place that the configuration for public access is stored as far as I know.
Try and set up at couple of page through the UI, and then you might be able to copy/paste it directly in the file to set it up (or create the xml using an xslt macro). I am not 100% sure, but I think this is the only place that the information is stored.
@ Morten Bock.
Perfect...
Youre the best...
(I can't vote because of my karma state...)
Thanks Morten, good to know ;)
is working on a reply...