Solved

Configuring Forms Authentication Across Applications, no encryption

Posted on 2011-03-07
4
275 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with preventing selection from a combobox 11 34
How to read text with RegEx... 2 25
C# MVC Insert Multiple Row into DB 2 30
Install IIS7.5 on Windows Sever 2012 R2 4 22
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

792 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