Solved

Configuring Forms Authentication Across Applications, no encryption

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to Get total minutes between two hours 4 26
Asp.net mvc 5 5 17
Problem to page 4 23
Visual Studio editor? 1 16
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now