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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:42:24+00:00 2026-06-11T21:42:24+00:00

I worked in a java based project in which we used LDAP authentication module

  • 0

I worked in a java based project in which we used LDAP authentication module for Login.
Can I use such any such (easy-to-use) login modules for asp applications.

1) I am individually developing an asp.net application in localhost. I need suggestions about how to implement login functionality.

2) I also need suggestions about how to define database tables related to login.
I initially thought of having a table USER with two columns user_id and password.

3) If I want to save password in an encrypted format, how do I implement the whole functionality. (like login validate, save password at registration)

Thanks,

  • 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-11T21:42:25+00:00Added an answer on June 11, 2026 at 9:42 pm

    Quick solution: Add ‘Login’ Control from toolbox & use “Web Site Administration Tool” to with it as suggested by @AVD.

    Refer: http://msdn.microsoft.com/en-us/library/ssa0wsyf(v=vs.100).aspx

    Conceptual/Custom Solution:

    1. Add ‘Login’ Control from toolbox & Convert it to template using
      smart-tag.

    2. Well, the idea “a table USER with two columns user_id and password”
      is simple & good, go with it.

    3. DES Encryption:

          using System.Security.Cryptography;
      static byte[] key = ASCIIEncoding.ASCII.GetBytes("!)@(#*$&"); //Encrypt Key
      static byte[] IV= ASCIIEncoding.ASCII.GetBytes("qwertyui"); //Initial Value
      protected void Encrypt_Click(object sender, EventArgs e)
      {
           if (String.IsNullOrEmpty(txtPwd.Text))
          {
              throw new ArgumentNullException("The string which needs to be encrypted can not be null.");
          } 
          DESCryptoServiceProvider cryptoProvider = new DESCryptoServiceProvider();
          MemoryStream memoryStream = new MemoryStream();
          CryptoStream cryptoStream = new CryptoStream(memoryStream, 
              cryptoProvider.CreateEncryptor(key, IV), CryptoStreamMode.Write);
          StreamWriter writer = new StreamWriter(cryptoStream);
          writer.Write(txtPwd.Text);
          writer.Flush();
          cryptoStream.FlushFinalBlock();
          writer.Flush();
          txtPwd.Text= Convert.ToBase64String(memoryStream.GetBuffer(), 0, (int)memoryStream.Length);
      }
      
      protected void Decrypt_Click(object sender, EventArgs e)
      {
          if (String.IsNullOrEmpty(txtPwd.Text))
          {
              throw new ArgumentNullException
                 ("The string which needs to be decrypted can not be null.");
          }
          DESCryptoServiceProvider cryptoProvider = new DESCryptoServiceProvider();
          MemoryStream memoryStream = new MemoryStream
                  (Convert.FromBase64String(TextBox1.Text));
          CryptoStream cryptoStream = new CryptoStream(memoryStream,
              cryptoProvider.CreateDecryptor(key, IV), CryptoStreamMode.Read);
          StreamReader reader = new StreamReader(cryptoStream);
          txtPwd.Text=reader.ReadToEnd();
      }
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am starting a new Java web project that will be worked on by
Having worked with Spring MVC for JAVA, I've gotten used to having @Transactional behaviour
I'm trying to develop a Java web based application that can work flow different
My C++ is a little rusty having worked in Java and C# for the
I'm newer to Objective-C though I have worked in Java, C, and C++ and
I previously worked a lot with Java and now I am working more with
I've worked on Death March projects in the Java world - projects that are
I've been reading about java/spring/hibernate and worked trough a dummy examples so I told
I am doing some computation in Java and it worked fine but I noticed
I have an Java applet that loads native code through JNI. Everything worked just

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.