Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8546873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:08:08+00:00 2026-06-11T13:08:08+00:00

I am not sure what it is called what I want, so that is

  • 0

I am not sure what it is called what I want, so that is the main reason I post here, I am new to asp.net / mvc and just webdevelopement. However I got a WCF service that got (custom) security. (IAuthorizationPolicy, IPrincipal and UserNamePasswordValidator).

However I am failing to find a good article on ASP.net security. All the guides I find is about sql membership provider, with a automatic genareted databse, but ofc I don’t want to create a new user table etc, I want to use my old one (with already hunderds of users in it). But I know I ll need to add a new table to keep track of cookies (so I can compare the GUID to the cookie GUID, or something I dunno I am just reading here and there). But could anyone please provide me a good tutorial for custom forms authentication, ps I must also be able to give access to roles,(I got a (role)table for it as well already). Is it then possible to use authorization with atributes like:

[PrincipalPermission(SecurityAction.Demand, Role = "Admin")]
public ActionResult GetUserStats(int userid)
{

PS: I know I ll get shot because this question will be too open etc, I did research, didn t find any up to date(ASP.NET mvc 4, the one with all the openauth stuff and webmatrix security preinstalled) article how to do this all.

EDIT: http://dotnetspeak.com/index.php/2011/07/asp-net-mvc-custom-authentication/ seems to be the best article I’ve found so far, but it uses json, and memory reader/writer lol? And it doesn t save sessions in a DB ? Not certain or it is a good method, any advice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:08:09+00:00Added an answer on June 11, 2026 at 1:08 pm

    I have not used it yet, so this is not a personal endorsement but I just read about SimpleMembership and it sounds like exactly what you need. See Jon Galloway’s excellent blog post on the subject.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am not sure why the property is not being called on Binding. Here
Not sure if im just being stupid or something but here goes i work
I have some functionality that I want to mock out being called from main
I'm not sure what it's called but you can override methods easily with: Apple
I'm not sure why the Chosen Plugin is not being called when my form
My apologies for an inaccurate title, but I'm not sure what this is called
I'm not even sure what this principle is called or how to search for
I'm not even sure what this is called? But I'm trying to learn what
Not sure whats going on here, or what could be the integer in this
I want to define a base class that defines a main method that instantiates

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.