[Xitami] block downloading PDF files to local machinewhenviewingthem online

Zheng Huan Qun elezhq at nus.edu.sg
Fri Apr 21 11:07:26 CEST 2006


 

I have tried it. The PDF file is password protected but still is downloaded to local machine. Is there any other method to let user view file only without downloading it to local machine?

 

HQ

________________________________

From: xitami-bounces at lists.xitami.org [mailto:xitami-bounces at lists.xitami.org] On Behalf Of Ayhan Tuncer
Sent: 2006年4月20日 18:48
To: Xitami Users General Discussion
Subject: RE: [Xitami] block downloading PDF files to local machinewhenviewingthem online

 

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/20060421/28b48a48/attachment.htm


More information about the Xitami mailing list