How to sign a script and run in a web page

R

Roy

Maybe I am in the wrong place and doing this the wrong way... please
tell me if you think there is a better way.

I need to transfer some files from a server to the client workstation.
The transfer has to be initiated from a page served up by the web
server. This is easy enough to do with Java Script and Windows FSO
but I have to loosen up the browser security and my (military)
employer will not allow that. So, is there some way I can take this
script and sign it and the user can run it once the certificate is
accepted?

I am not resigned to using Java Script, it just seemed to be the
easiest way and works well. If it makes more sense to make an exe
with something like cpp and sign it, that's OK too. Surely there are
some tutorials on the web on how to do this, but I can't find any,
which makes me fear that it can't be done.

I could use an HTA if there is a way to initiate the HTA from the web
page and to pass it a parameter (the folder with the files - it will
vary with each transfer).

FWIW, I can create a page with links to all the files and by clicking
on them cause the 'save as' dialog to come up and let the user save
them. Problem is, sometimes there will be lots of files and I don't
want the user to have to click and save each one individually.

Any help will be greatly appreciated... TIA

Steve
 
S

Steve

The deal is that the user selects a "package" of documents and checks
it out to the user's local workstation. Since some of these
"packages" can have quite a few files in them, the requirement is to
download all of the documents at once. The user updates them over a
period of time and then checks them back in.

I am stuck with doing this on my own... no money to spend on any third
party products, at least not at the present.

But, we do have a site license for winzip and it would be fine do use
that (or any other freebie compression tool) if I could make it
automatically decompress it on download. You mentioned that. How do
you make it automatically expand? I download zip files often and they
don't automatically expand...

Thanks a lot for the reply...

Steve
 
R

Robert

Steve said:
But, we do have a site license for winzip and it would be fine do use
that (or any other freebie compression tool) if I could make it
automatically decompress it on download. You mentioned that. How do
you make it automatically expand? I download zip files often and they
don't automatically expand...

Looks like the Windows 98 version of IE doesn't have the concept of
Helper applications. I couldn't find them in the help. IE 5.2 on
MacOS 10.2.6 has the concept of helper applicaitons. For any mime
type, you can associate an applicaion with the type. The application
gets invoked when its mime type is downloaded. For zip, the default is
a a free decompression program.

Likewise, Firefox 0.9.3 for MacOS lets you make associations by file
type indicating what program to invoke after the download. I assume
these associations would be available on all version of Firefox.

I guess for IE on Windows that you have to download the file then
double click on the icon to run the zip program. Perhaps there is a
way to make the associations through the registery. How does IE know
to invoke word when you download a doc file anyway. More MS magic I
guess. Perhaps you can configure winzip to automtically expand the
files.


Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top