Solved

Configuring Forms Authentication Across Applications, no encryption

Posted on 2011-03-07
4
279 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

632 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