BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Download readonly Excel file

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder JavaAPI
View previous topic :: View next topic  
Author Message
Chris
Guest





PostPosted: Wed Oct 29, 2003 6:25 am    Post subject: Download readonly Excel file Reply with quote



Hi,all

In a project , our customer want us to implement such a
requirement:

when client side download an Excel file from server, the
Excel file should be _readonly_. I created Excel file by
VBS in the server side, but how to set the Excel file's
attribute to be _readonly_ when it is downloaded ?

anybody help me?

Thanks in Advance.


Back to top
Paul Furbacher [TeamB]
Guest





PostPosted: Wed Oct 29, 2003 4:15 pm    Post subject: Re: Download readonly Excel file Reply with quote



In <3f9f5d10 (AT) newsgroups (DOT) borland.com> Chris wrote:
Quote:
Hi,all

In a project , our customer want us to implement such a
requirement:

when client side download an Excel file from server, the
Excel file should be _readonly_. I created Excel file by
VBS in the server side, but how to set the Excel file's
attribute to be _readonly_ when it is downloaded ?

anybody help me?

Whatever you write on the server side will have no
effect on file permissions on the client side.
And since you have no way of controlling how IE or
Netscape place the downloaded file onto the user's
disc, you cannot affect changes to the default
permissions. No client side code you might write
can affect this, as far as I know. It has to do
with the security features of Java and Web apps.

How about password protecting the Excel file in
such a way that one doesn't need a password to
view it, but needs one to edit it. I have no
idea as to whether this or some other read-only
mechanism is available _inside_ an Excel file.
(I avoid using Excel like I avoid getting the
plague.) But that's about the only hope you have
of answering your client's concerns.

The other thing is this -- if it's not editable,
why does it have to be an Excel file. Render
tables in PDF. Not editable, but viewable.


Paul Furbacher [TeamB]

Save time, search the archives:
http://info.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder JavaAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.