Link to home
Start Free TrialLog in
Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on

Could you point the better way to ensure a Wordpad content, by encryption or password ?

Hi Experts

Could you point the better way to ensure a Wordpad content, by encryption or password ?

Also, what is the better way to do that?

By the way the file is opened by a VFP application

LOCAL oWSH

try
	oWSH = Createobject("wscript.shell")
	oWSH.Run(lcOutputFile, 2, .T.)

Catch To oErr
	oErr.UserValue = "Nested CATCH message: Unable to handle"
	=ALERT("PARE", "OK", 10, 10, "Wordpad não pode ser executado. Erro:"+oErr.Message )
Endtry

Open in new window


Any suggestion on decrypyt before it's opened and then after it's saved, is it a good approach?


Thanks in advance
Avatar of ste5an
ste5an
Flag of Germany image

Could you point the better way to ensure a Wordpad content, by encryption or password ?
There's no secure way to do that.

Maybe you should rephrase your question. Context, use-case, goals..
Main issue is that you have to create a plain text file tobe able to edit it with most editors. The clipboard could be used to paste content into the editor, but there is no trigger to know when the application should take over the changes, and there might be size limitations.

As stated by st5an, context is missing to be able to provide something useful.
Hi Eduardo,

Could you point the better way to ensure a Wordpad content, by encryption or password ?
Encryption is always more secure than a password.

I'm not sure what your are asking beyond that.

Let me know if you have any questions!
Avatar of Eduardo Fuerte

ASKER

Sorry.

To be  clearer.

My concern is about Wordpad text content's confidenciality since its  has personal informations (the use of Wordpad was estabilished since not all the PC stations have a Word licence).

So if someone have the rights - login/ password/ access level to enter a VFP app (just to inform the language maybe it could help someway, but that's not the core point), from inside it  he have access to call Wordpad, to read and maintain the text, after that save it's content.

If someone outside the app try to open the file directly with Wordpad it's denied and can't read and change anything.

That's the goal.
SOLUTION
Avatar of ste5an
ste5an
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Pcelba's  zipping by using VFPcompression with password fits very well my needs at the moment, on a reasonable security level, deletung the .doc after zipping is done.

To give permissions on the folders maybe on a next step NTFS maybe could be adopted also.

Just to clarify why I mentined Word at begining , just to know of a possible app that encrypt it's contents when the file is salved.

Thanks for the help!