Subject: Security in Pine..

From: "VASANI JIGNESH C." <[email-masked]>
Date: Wed, 7 Aug 1996 12:00:40 +0530 (IST)

Hi... and HELP!!!!!

We need to allow export of files only from the users area( eg. not allow
them to do a ^R and mail the /etc/passwd file to themselves :-) ) 
We have the source for pine 3.95. We are running Linux 1.2.1.

We tried using pico as an alternate editor(use-alt-editor-imp9licitly,
always-use-alt-editor features). We invoked Pico with the -o option.
But we faced the following problem.....
While returning to the main screen(from where we actually send the
mail) we had to save the file. This file could not be opened for sending
and could only be sent as an attachment, which is not the normal
procedure.
Is there something we are missing out? Or are we going wrong somewhere?

We also tried to modify the source.... But we didn't know where exactly to
make the changes. Could someone please point out where the changes are to
be made?

We are extremely rushed for time..... and would really appreciate a quick
reply....

Thanx in advance.

--Parag Someshwar--
(QuantumLink Communications)

---

From: [email-masked] (Christopher Morrone)
Date: 8 Aug 1996 05:21:51 GMT

VASANI JIGNESH C. ([email-masked]) wrote:
: We tried using pico as an alternate editor(use-alt-editor-imp9licitly,
: always-use-alt-editor features). We invoked Pico with the -o option.
: But we faced the following problem.....
: While returning to the main screen(from where we actually send the
: mail) we had to save the file. This file could not be opened for sending
: and could only be sent as an attachment, which is not the normal
: procedure.
: Is there something we are missing out? Or are we going wrong somewhere?

Ummm...try the man page...I don't see a "-o" option mentioned in there.
Try -t:

       -t     Enable "tool" mode.  Intended for when pico is used
              as  the  editor  within  other  tools  (e.g.,  Elm,
              Pnews).  Pico will not prompt for save on exit, and
              will not rename the buffer during the  "Write  Out"
              command.