HighTechTalks DotNet Forums  

Digital signature verification throws "The system cannot find thefile specified"

ASP.net Security microsoft.public.dotnet.framework.aspnet.security


Discuss Digital signature verification throws "The system cannot find thefile specified" in the ASP.net Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Carolina
 
Posts: n/a

Default Digital signature verification throws "The system cannot find thefile specified" - 01-27-2010 , 04:06 PM






I have a question and I need some help.

I have an asp.net application which verifies digital signature with
this code:

Private Function Verify(ByVal datosfirmados As Byte(), ByVal
firma As Byte()) As Boolean

Using provider As RSACryptoServiceProvider = New
RSACryptoServiceProvider()

Return provider.VerifyData(datosfirmados, New
SHA1CryptoServiceProvider, firma)
End Using

End Function


Well, this code works perfect when I run my app with a windows account
that belongs to local Administrators group (my app runs under an
Application Pool).

When I change the account to one with no Administrator privileges,
the .VerifyData method returns exception "The system cannot find the
file specified"



What privileges are needed for an account in order to verify digital
signatures with this code?

Any help would be appreciated.

Thanks.

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.