Monitoring for non-pgp files

Posted by Aheho on Stack Overflow See other posts from Stack Overflow or by Aheho
Published on 2009-08-07T17:44:27Z Indexed on 2010/05/11 15:04 UTC
Read the original article Hit count: 290

Filed under:
|
|

For privacy reasons, I want to prevent my users from posting unencrypted files to my ftp site.

It is company policy that all data exchanges of sensitive data be encrypted with PGP.

I'd like to setup a program to monitor the ftp folders and whenever a new file is placed there, verify that it is in fact encrypted.

I can't just rely on the file extension because in some cases, our trading partners require a specific filename that doesn't have a .PGP on the end.

Is there a library or another method I can use to verify that a given file is encrypted?

I'm using C# and .NET on a windows platform.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#