Click here to Skip to main content
15,908,274 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to make a webpage approachable only by the site admin in webmatrix?
Posted
Comments
Sergey Alexandrovich Kryukov 28-Dec-12 16:18pm    
Why is this a problem? Do you have any authentication at all? If you have, why not having different access for different members?
—SA
cs101000 29-Dec-12 2:49am    
Is the authentication for the admin the same as for other members of the site in webmatirix? I have used createaccount method for creating accounts and having loggings. authentication and ... but the admin here is not a site member, just an admin with access to some pages with database administrating purposes.

1 solution

Look at this tutorial: Adding Security and Membership to an ASP.NET Web Pages (Razor) Site [^].
It explains how to add security to a WebMatrix site and how to implement roles in it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900