Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 30th, 2004, 07:52 PM
Registered User
 
Join Date: Aug 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Digital Signatures - Why do we need them???

The book goes through the trouble of creating a digital signature for the application. Why do we need to do this? And is it necessary?

jaspe

 
Old August 30th, 2004, 10:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, it's not needed. You can comment out these lines in all of the AssemblyInfo files:

//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile(@"c:\thephile\Keys\ThePhile.snk")]
//[assembly: AssemblyKeyName("")]

It's only needed if you want to install an assembly in the GAC, and this isn't needed in ThePhile.

If you did want to use a strong key, you should make your own and not use the one provided.

Eric
 
Old August 31st, 2004, 12:03 PM
Registered User
 
Join Date: Aug 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Eric,

Thanks for the info.

>> It's only needed if you want to install an assembly in the GAC, and this isn't needed in ThePhile.

Question about the above, I don't know what a "GAC" is and why i would install an assembly for it! :) What exactly is it? Thanks again!

Jaspe


 
Old August 31st, 2004, 03:49 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The GAC is the Global Assembly Cache. It's a place to put assemblies that can be shared by other applications.

It's not actually one folder, but it's rather a complex group of folders. MS provided us with a Windows Explorer plug-in that lets us view the GAC by looking at C:\Windows\Assembly in Explorer.

The GAC is always searched first when the .NET runtime tries to locate an assembly. This makes it a great place to locate COM+ and remoted assemblies because a caller from another computer will always be able to launch them if there're in the GAC.

This isn't needed by ThePhile because the assemblies are deployed locally in the bin subdirectory.

Eric





Similar Threads
Thread Thread Starter Forum Replies Last Post
BouncyCastle & multiple signatures fulgerica BOOK: Beginning Cryptography with Java 5 August 31st, 2007 07:51 AM
Digital Signatures countrymusicman Access VBA 0 April 19th, 2007 02:26 PM
Digital Signatures harpua PHP How-To 1 August 29th, 2006 11:02 PM
Outlook 2000, VBA, random signatures michaelrayadkins Beginning VB 6 1 June 4th, 2004 07:49 AM
multiple definitions with identical signatures Galina Crystal Reports 0 February 14th, 2004 05:39 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.