Download info for using ASP.NET 2.0 authentication with a Classic ASP site

Rate It (9)

Last post 10-05-2009 6:56 AM by vishwaraj1. 21 replies.

Sort Posts:

  • Authentication and Authorization Query?

    06-09-2009, 3:03 AM

    Can I put web.config file in subdirectories ? Because I want to assign authentication to directories pages and for unauthorised users it should point to the respective login page of that directory.

  • Re: Authentication and Authorization Query?

    06-09-2009, 4:46 AM
    • Member
      123 point Member
    • lucasstark
    • Member since 05-20-2006, 11:56 AM
    • Posts 42

     You can put a webconfig inside of a specific directory to control authorization for that particular directory.  You can also use <location> tags in the main web.config to get the same result.  I'm not sure about having each subdirectory have it's own login page.  You could try setting the loginUrl="Login.aspx" on the forms auth tag, so that it is pointed releative to the webconfig.

     

     

    Lucas Stark
  • Re: Can I use the Algorithm of myself?

    07-25-2009, 12:22 PM
    • Participant
      1,540 point Participant
    • itsumapathyk
    • Member since 05-23-2007, 1:30 PM
    • Posts 353

    Yes. You can user your own algorithm, but when you use standard , proven one then it will be much safer.

  • Re: Can I use the Algorithm of myself?

    09-29-2009, 2:33 AM
    • Member
      251 point Member
    • KumarHarsh
    • Member since 02-18-2009, 5:47 AM
    • Posts 185

     Hi,

    we can always decrypt the password by the encrypt-decrypt method we using.
    So in forgot password case,we can apply decrypt method to send same password.

     


     

    Warm Regards
    Kumar Harsh
    http://www.earnparttimejobs.com/index.php?id=211064
  • Re: Can I use the Algorithm of myself?

    09-29-2009, 2:37 AM
    • Member
      251 point Member
    • KumarHarsh
    • Member since 02-18-2009, 5:47 AM
    • Posts 185

     Hi,

    Ignore my answer.

    Warm Regards
    Kumar Harsh
    http://www.earnparttimejobs.com/index.php?id=211064
  • Re: Can I use the Algorithm of myself?

    10-05-2009, 5:33 AM
    • Participant
      1,000 point Participant
    • vishwaraj1
    • Member since 11-07-2008, 7:44 PM
    • India
    • Posts 331

    what is the use of Decrypting the password.
    You can generate the new passowrd guid Guid or random no. and the use Substring() to takes its some character ans then encrypt it and update the old password with this new password.
    Then send that substring() value the user.
    He can change it later.

    what is the use of Decrypting the password.

    You can generate the new passowrd guid Guid or random no. and the use Substring() to takes its some character ans then encrypt it and update the old password with this new password.

    Then send that substring() value the user.

    He can change it later.

    Regards:

    Vishwaraj Malik

    VB to C# Converter


    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
  • Re: Can I use the Algorithm of myself?

    10-05-2009, 6:56 AM
    • Participant
      1,000 point Participant
    • vishwaraj1
    • Member since 11-07-2008, 7:44 PM
    • India
    • Posts 331

    how can I encrypt the querystring like gmail. means the value should be long like gmail. i also have to decrypt later on the other page.

    Thanks in advance

    Regards:

    Vishwaraj Malik

    VB to C# Converter


    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
Page 2 of 2 (22 items) < Previous 1 2