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 7815183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:26:23+00:00 2026-06-02T05:26:23+00:00

I’ve built a website that uses the login classes that come with ASP.NET (.NET

  • 0

I’ve built a website that uses the login classes that come with ASP.NET (.NET 4) to manage user accounts and passwords.

Are these classes sufficiently secure for a publicly accessable website? What if I were developing a bank’s website instead of a stupid custom CMS for a pub?

Update: I didn’t know ASP>NET had other login classes. I’m refering to these.
http://msdn.microsoft.com/en-us/library/ms178329.aspx

  • 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-02T05:26:25+00:00Added an answer on June 2, 2026 at 5:26 am

    FormsAuthentication is widely used and relatively safe if configured properly.

    Make sure you add your MachineKey, (you can generate one here http://aspnetresources.com/tools/machineKey which is the same link supplied in the MSDN site)

    • If its a secure part of the system; consider setting your session timeouts low (10/15 minutes its convenience vs security).
    • Ensure your membership provider is set to a good HASH algorithm i.e. <membership userIsOnlineTimeWindow="15" hashAlgorithmType="SHA512">
    • and the provider itself is set to hashed rather than encrypted passwordFormat="Hashed"
    • and that your RoleManager (if your utilizing roles) and forms authentication section contain the configuration for the cookies; cookieProtection="All"

    The password reset system in it is a joke; I wont copy and paste myself, but you can see the preferable method of resetting passwords here https://stackoverflow.com/questions/10213124/combine-passwordrecovery-and-changepassword-control/10237107#10237107

    Thats basically a good start; you could also look at Troy Hunts membership security guide http://www.troyhunt.com/2010/07/owasp-top-10-for-net-developers-part-3.html

    Oh and Always collect users information / handle logons / and registrations over HTTPS (SSL). And try to use some sort of verification token (theres one in MVC https://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=msdn+AntiForgeryToken), this reduces the attack landscape for CSRF and basically brute forcing.

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I used javascript for loading a picture on my website depending on which small
I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I am doing a simple coin flipping experiment for class that involves flipping a
I need to clean up various Word 'smart' characters in user input, including but
I need a function that will clean a strings' special characters. I do NOT

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.