Click here to Skip to main content
12,699,531 members (34,921 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET Webmatrix
how to make a webpage approachable only by the site admin in webmatrix?
Posted 28-Dec-12 11:12am
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?
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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100