[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] forbid local file browsing?

From: Thomas Dickey
Subject: Re: [Lynx-dev] forbid local file browsing?
Date: Sat, 6 Jan 2007 17:02:12 -0500 (EST)

On Sat, 6 Jan 2007, Craig Skinner wrote:

Hi there,

How do I go about forbiding lynx browsing the local file system?

You should be able to do that using the -restrictions option, e.g.

        lynx -restrictions=dired_support

I'm setting up an open access box for people to remotely test their
websites, and do not want users doing the likes of:
$ lynx /etc/passwd

I have messed about with ~/.lynxrc
RULE:Fail file:*
RULE:Fail /*

No success.

I also tried a shell alias of: lynx='lynx http://' to no effect.

Any suggestions?

Lynx-dev mailing list

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]