Solved

Configuring Forms Authentication Across Applications, no encryption

Posted on 2011-03-07
4
276 Views
Last Modified: 2012-06-27
I have an internal website and want to quickly configure Forms Authentication Across Applications.

http://msdn.microsoft.com/en-us/library/eb0zx8fc.aspx

What's alternatively needed in this section?
<machineKey
      validationKey="C50B3C89CB21F4F1422FF158A5B42D0E8DB8CB5CDA1742572A487D9401E3400267682B202B746511891C1BAF47F8D25C07F6C39A104696DB51F17C529AD3CABE"
      decryptionKey="8A9BE8FD67AF6979E7D20198CFEA50DD3D3799C77AF2B72F"
      validation="SHA1" />
  </system.web>

Also, I am unsure about what to use here (taken from sample code on link above):
        name=".ASPXFORMSAUTH"
        protection="All"  
        path="/"

Thanks,
newbieweb
0
Comment
Question by:newbieweb
  • 2
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
gamarrojgq earned 500 total points
ID: 35058040
Hi,

Here are the description of the first one

http://msdn.microsoft.com/en-us/library/ff649308.aspx

Here for the second

http://www.15seconds.com/issue/020220.htm

these will help you
0
 

Author Comment

by:newbieweb
ID: 35058166
Using encryption isn't a bad idea and looks like it might be easier than using none, due to the extensive example. But how does the key get created in the web.config in the first place? That question is the reason I wanted to not use it in the first place, since I didn't know how it could get into the web.config.

Is there some utility program? Does my asp.net application write it?

Confused...

newbieweb

0
 
LVL 13

Assisted Solution

by:gamarrojgq
gamarrojgq earned 500 total points
ID: 35058256
Well, there are several ways to do it, here are 2 examples, the first use IIS and it will change your web.config file for you

http://technet.microsoft.com/en-us/library/cc731979(WS.10).aspx


And the second using an free onlin utility, but here you have to copy & paste the result to your web.config file manually

http://www.developerfusion.com/tools/generatemachinekey/
0
 

Author Closing Comment

by:newbieweb
ID: 35058368
Thanks!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question