sharma
27th January 2006, 08:53
Hello friends,
I am generating a text file by using seq.write.lcoal() through my customized script.Now I want to generate this file in Read Only mode so that if this file once genrated to my local pc can not be modified by other user.
Thanks in advance.
SS
norwim
27th January 2006, 09:23
Hi there,
just call the shell command to chmod it from within the Baan program.
shell("chmod 444 FILENAME",1) (to make it readonly for everbody)
hth
Norbert
NPRao
27th January 2006, 20:32
Norbert,
Sharma is trying to change the local desktop's file's permissions and not server end.
You can do it with attrib command. Refer to the link - app_start() (http://www.baanboard.com/baanboard/showthread.php?t=9595&highlight=attrib)
manojsharma
1st February 2006, 07:38
Dear Sharma,
Changing the attrib will not help you as user can save the file with different name. You have to convert the baan report to PDF format, then only your purpose will be solved.
NPRao
1st February 2006, 09:25
You have to convert the baan report to PDF format, then only your purpose will be solved.
If I have Acrobat PDF editor, this would not solve the purpose. ;)
manojsharma
2nd February 2006, 08:31
NP,
You are right but user can be restricted to access Acrobat Editor.
NPRao
2nd February 2006, 09:04
Manoj, I was kidding :) there are lots of freeware to convert files etc. The secure way might be to use a digital signature or encrypted files. It might be an overkill for a simple document, alternatively, one can also have a password protected word document etc. Many solutions for simple objective.
vishbaan
17th January 2020, 10:29
I have a requirement to do
digital Signature on Invoice printed from Baan.
Kindly help.. shall be much appreciated
thank you