tags:

views:

66

answers:

3
+1  A: 

You need to implement Role Based Security

James
I have edited my question.The answer that u gave is not proper in my case.Please check my question again
Nandini
I would suggest you look into Mehdi's answer i.e. using a Sitemap instead. It would be a lot easier to implement the feature you require.
James
+2  A: 

As other friends mentioned you should use authorization. If you are using Sitemap, to prevent the links to show for a particular roles you've to use security trimming. Check the following link out.

http://msdn.microsoft.com/en-us/library/ms178428.aspx

Mehdi Golchin
This will only remove the links from the page, this doesn't stop unauthorized users manually typing the URL in.
James
Yes, but you said it in your answer. But you didn't say how we can hide these links from the menu. So I suggested the security trimming.
Mehdi Golchin
I think the problem arised from lack of description in my post. Thus, I edited it. Thanks.
Mehdi Golchin
+1  A: 

this will help to better understand role management Role Management Overview Articles

peacmaker
I have edited my question.The answer that u gave is not proper in my case.Please check my question again
Nandini