Select to view content in your preferred language

How to setup security for a single functionality only?

1895
3
04-12-2011 06:26 AM
weiliang
Deactivated User
Hi,

Our website is secured by implementing ASP Membership, but we have one tool in the website (e.g., editing) which should only be accessed by a small group of people. How can I setup this kind of security for my silverlight website?

Thanks for your input.

Wei
0 Kudos
3 Replies
RichardWatson
Deactivated User
Create an editing role and only allows users who are member of that role to do edits.
0 Kudos
weiliang
Deactivated User
Thanks for your reply, Richard. But how do make restriction on only certain role members to use a certain functionality in Silverlight. Could you deliberate it a little bit?

Thanks,

Wei
0 Kudos
RichardWatson
Deactivated User
It should be possible for your website to expose a function which returns whether or not the authenticated user is a member of the Editing role.  The SL client can then use this information to enable or disable the associated UI.
0 Kudos