|
Home > Archive > Microsoft Content Management Server > July 2004 > NR IIS virtual directory access
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
NR IIS virtual directory access
|
|
| jaradeveloper 2004-07-28, 6:09 pm |
| Hi guys.
I fall into a strange trouble which caused me two big doubts.
First:
I have two aspnet web applications, just one of them is a CMS
application.
I need to share some CMS published images with the non CMS application
so I retrieve the cms path for the image and put it in a xml file and
the other application reads it and uses it.The path of the resources
point to the NR virtual directory.
On the development environment everythingh went ok but now on the
production domain, when the non CMS application tries to open the
images, the authentication mask pops up.
I figured it was a permission problem but I didn't manage to fix it.
I set as anonymous user of NR in IIS the user that run the aspnet
application process, in fact I tried with various users but with no
luck.
The non cms application is "form authentication".
Anybody has any advice?
Can I try some kind of impersonate on the non CMS application?
The second doubt is related to the RDonlyres fodler as well:
On the domain there are two web servers, each one has got CMS
installed and they point to the same DB. Do I have to synchronize
rdOnlyres contents using replicas?
Thanks for patience in reading it!
Any help welcome
Andrew
| |
| Stefan [MSFT] 2004-07-28, 6:09 pm |
| Hi Andrew,
all MCMS resources are protected by MCMS.
If you would like to enable anonymous access to these items you need to
enable guest access in the SCA.
If only authenticated users should be allowed to see these resources then
you need to authenticate against MCMS - that what happens here.
Decide if authentication for these resources is required or not - depending
on this you can either enable guest access or convert your non-cms
application into a CMS application and use MCMS forms login.
Cheers,
Stefan.
"jaradeveloper" <superstrada@tiscali.it> schrieb im Newsbeitrag
news:d9fa4278.0407240651.6039e291@posting.google.com...
> Hi guys.
> I fall into a strange trouble which caused me two big doubts.
> First:
> I have two aspnet web applications, just one of them is a CMS
> application.
> I need to share some CMS published images with the non CMS application
> so I retrieve the cms path for the image and put it in a xml file and
> the other application reads it and uses it.The path of the resources
> point to the NR virtual directory.
> On the development environment everythingh went ok but now on the
> production domain, when the non CMS application tries to open the
> images, the authentication mask pops up.
> I figured it was a permission problem but I didn't manage to fix it.
> I set as anonymous user of NR in IIS the user that run the aspnet
> application process, in fact I tried with various users but with no
> luck.
> The non cms application is "form authentication".
> Anybody has any advice?
> Can I try some kind of impersonate on the non CMS application?
>
> The second doubt is related to the RDonlyres fodler as well:
> On the domain there are two web servers, each one has got CMS
> installed and they point to the same DB. Do I have to synchronize
> rdOnlyres contents using replicas?
>
> Thanks for patience in reading it!
> Any help welcome
> Andrew
| |
| jaradeveloper 2004-07-28, 6:09 pm |
| Stefan, thanks for the quick reply.
I've already enabled guest access in the SCA, but maybe I choose a
wrong user, I chose the user that runs ASPNET process for that
application.
To set not to authenticate for those resiurces do I have to configure
anything on the Site Manager too?
For my other doubt(domain replica of the rdonlyres folder contents) I
found out that I don't need it.
thx for youe advice
andrew
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message news:<u2#5kXZcEHA.4032@TK2MSFTNGP11.phx.gbl>...[vbcol=seagreen]
> Hi Andrew,
>
> all MCMS resources are protected by MCMS.
> If you would like to enable anonymous access to these items you need to
> enable guest access in the SCA.
> If only authenticated users should be allowed to see these resources then
> you need to authenticate against MCMS - that what happens here.
>
> Decide if authentication for these resources is required or not - depending
> on this you can either enable guest access or convert your non-cms
> application into a CMS application and use MCMS forms login.
>
> Cheers,
> Stefan.
>
>
> "jaradeveloper" <superstrada@tiscali.it> schrieb im Newsbeitrag
> news:d9fa4278.0407240651.6039e291@posting.google.com...
| |
| Stefan [MSFT] 2004-07-28, 6:09 pm |
| Hi Andrew,
you should use a "fresh" user or the IUSR_... account. Not the ASPNET worker
process account.
In addition you need to add the configured user to a subscriber group and
assign this group to all resource galleries and channels that should be
avail to the guest.
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------
"jaradeveloper" <superstrada@tiscali.it> wrote in message
news:d9fa4278.0407250231.216bbedb@posting.google.com...
> Stefan, thanks for the quick reply.
> I've already enabled guest access in the SCA, but maybe I choose a
> wrong user, I chose the user that runs ASPNET process for that
> application.
> To set not to authenticate for those resiurces do I have to configure
> anything on the Site Manager too?
>
> For my other doubt(domain replica of the rdonlyres folder contents) I
> found out that I don't need it.
>
> thx for youe advice
> andrew
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:<u2#5kXZcEHA.4032@TK2MSFTNGP11.phx.gbl>...[vbcol=seagreen]
then[vbcol=seagreen]
depending[vbcol=seagreen]
|
|
|
|
|