Solved

Configuring Forms Authentication Across Applications, no encryption

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

810 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