Click here to Skip to main content
Rate this: bad
good
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
Comments
Sergey Alexandrovich Kryukov at 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 at 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
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 532
1 Maciej Los 470
2 Sergey Alexandrovich Kryukov 421
3 CPallini 200
4 Peter Leow 165
0 Sergey Alexandrovich Kryukov 6,888
1 OriginalGriff 5,342
2 Peter Leow 3,962
3 Mika Wendelius 2,850
4 CHill60 2,748


Advertise | Privacy | Mobile
Web01 | 2.8.150224.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2015
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