Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Securing a single posting with Forms Authentication in CMS

0 views
Skip to first unread message

Manring@discussions.microsoft.com Bill Manring

unread,
Aug 8, 2009, 8:15:01 AM8/8/09
to
I would like to secure a single posting with forms authentication in a CMS
web site. I set up the appropriate security settings in IIS and CMS and I
added this to the web.config file:

<location path="Contact/Emergency/TGAEmpPage.htm">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>

I have done this on other CMS sites where I secured files that were in a
"real" virtual folder, but this is an ordinary posting in a channel. If I
replace the path to the channel with the name of the aspx template file it
works, but the template is used by many postings. I could create a new
template aspx page to be used by this posting only, but I was wondering if
there was a way to make this work on an ordinary posting.

Thanks

Stefan Goßner [MSFT]

unread,
Aug 21, 2009, 6:08:06 AM8/21/09
to
Hi Bill,

that works differently in MCMS.
you need to setup forms authentication.
As soon as an item requires authentication it will use this authentication
method.

I assume your site is anonymous access enabled.
As MCMS has only channel level granularity for permission you would need to
place the single page in its own channel.
Then ensure that the anonymous account does not have rights on this channel
and you are done.

Cheers,
Stefan

"Bill Manring" <Bill Man...@discussions.microsoft.com> wrote in message
news:FF3DEEE1-8BCD-4BDA...@microsoft.com...

0 new messages