[Xitami] block downloading PDF files to local machinewhenviewingthem online

Ayhan Tuncer tuncer at dalan.com.tr
Thu Apr 20 12:48:27 CEST 2006


Also Xitami has to be refreshed after each edit to the aut file if I remember correctly from discussion a few weeks ago. This does pose a problem if a cgi program is used to write to the aut file directly.

 

________________________________

From: xitami-bounces at lists.xitami.org [mailto:xitami-bounces at lists.xitami.org] On Behalf Of Rick Headly
Sent: Thursday, April 20, 2006 12:22 PM
To: Xitami Users General Discussion
Subject: Re: [Xitami] block downloading PDF files to local machinewhenviewingthem online

 

for the example i've provided,

the "aut" file must be edited manually by the administrator...  it's the only way i know.
 

if you're looking for something more elaborate than that, i might suggest browsing some of the free cgi sites to see if you can find a specific script to suit your needs.

 

(unless someone else here has a better solution)

 

rick


 

On 4/20/06, Zheng Huan Qun <elezhq at nus.edu.sg> wrote: 

Does it mean that webmaster has to edit the file manually? Is there any way which let users to create their own id and password? 

 

Regards

 

HQ

________________________________

From: xitami-bounces at lists.xitami.org [mailto:xitami-bounces at lists.xitami.org] On Behalf Of Rick Headly
Sent: 2006年 4月20 日 15:48


To: Xitami Users General Discussion
Subject: Re: [Xitami] block downloading PDF files to local machine whenviewingthem online 

 

assuming that an "aut" file already exists for the domain in question,

it can be edited like so:

 

[/your-directory-name/sub-path/etc]
    username01 = "password1"
    username02 = "password2"
    username03 = "password3" 

 

... and so on

 

i don't believe there's any other trickery involved.

 

rick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.imatix.org/pipermail/xitami/attachments/20060420/4ad4e5d2/attachment.html


More information about the Xitami mailing list