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

Discussion in 'ASP .Net Security' started by Carolina, Jan 27, 2010.

  1. Carolina

    Carolina Guest

    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.
    Carolina, Jan 27, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. caldera

    digital signature usage in asp.net

    caldera, Apr 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    659
    caldera
    Apr 22, 2004
  2. Scott Allen
    Replies:
    0
    Views:
    505
    Scott Allen
    Sep 20, 2005
  3. =?Utf-8?B?a2VlZnk=?=

    Digital Signature

    =?Utf-8?B?a2VlZnk=?=, Oct 25, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    487
    =?Utf-8?B?TGVvbiBNYXluZQ==?=
    Oct 30, 2006
  4. alan_sec
    Replies:
    0
    Views:
    761
    alan_sec
    Apr 9, 2007
  5. Jesus Suarez

    applet for digital signature

    Jesus Suarez, Aug 7, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    386
    Jesus Suarez
    Aug 7, 2007
Loading...

Share This Page