Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

File Security - Passwords

Intel_C_Intel
Employee
329 Views
From Fortran source code, is it possible to password protect a file which it creates, accesses, modifies, and closes ?

I'ld like to stay way from using SQL ( I don't know how to use that without purchasing another set of routines ), excel or Word.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
329 Views
Sure. If you have CVF 6.6, look at the "crypto" sample under SAMPLESADVANCEDWin32 or get it here. This is an example of file encryption and decryption using the Win32 cryptographic API.

Steve
0 Kudos
Reply