I have two IIS sites pointing to diffent physical folders. This is to be able to differentiate the web.config and the files and assemblies used for the sites Database is set to point to the same instance for both sites In web.config are configured to start from different parts The stucture is like this:
/sitecore/content/home/default
/sitecore/content/home/intranet
So far so good.
Now, the problem is that i'm able to retrieve content not belonging to the actual site by entering its complete path. Ie.
http://www.default.com/sitecore/content/home/intranet.aspx <-- this shouldn't be allowed, since www.default.com is configured with /sitecore/content/home/default as root.
Is there any built-in mechanism to dissallow this or do i have to subclass the itemresolver to make "cross sites"-requests illegal.