473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Javascript, signing, and Netscape 7

I have a script used for automated file uploads (so people can create a
list and walk away). It currently works by uploading files all at
once. However, for security, tracking, and backups, I want to do it
one by one.

The way I would like to do it is to have a list of the files sent to
the server, then the server sends a script back to start the transfer
of the first file. When it's done, it should send back the script to
start the next transfer, etc.

When I do the complete list, it's done locally by a list generation
program on their system, then by using
netscape.security.PrivilegeManager.enablePrivilege ("UniversalFileRead"),
allows the list to automatically fill the <input type=file...> forms
for each file.

Everything I've read says that I can initialize enablePrivilege by
using it with a signed script. And I have been able to get it to work
with Netscape 4.x. However, it doesn't seem to want to work with
Netscape 7.x.

Does anyone have any suggestions as how to do it?

BTW, I'm using the Unix version of signtool to create the signed
scripts.
Jul 20 '05 #1
1 1588


Thomas Revor wrote:
I have a script used for automated file uploads (so people can create a
list and walk away). It currently works by uploading files all at
once. However, for security, tracking, and backups, I want to do it
one by one.

The way I would like to do it is to have a list of the files sent to
the server, then the server sends a script back to start the transfer
of the first file. When it's done, it should send back the script to
start the next transfer, etc.

When I do the complete list, it's done locally by a list generation
program on their system, then by using
netscape.security.PrivilegeManager.enablePrivilege ("UniversalFileRead"),
allows the list to automatically fill the <input type=file...> forms
for each file.

Everything I've read says that I can initialize enablePrivilege by
using it with a signed script. And I have been able to get it to work
with Netscape 4.x. However, it doesn't seem to want to work with
Netscape 7.x.

Does anyone have any suggestions as how to do it?

BTW, I'm using the Unix version of signtool to create the signed
scripts.


Maybe
http://www.mozilla.org/projects/secu...d-scripts.html
helps to point out how signed scripts are used with Netscape 7
--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John Grogan | last post by:
I have absolutely no experience in Javascript although am a programmer by trade. I have a problem in a third-party system, as follows. The system uses "web" forms to capture and save data. ...
8
by: Sue | last post by:
In this code why is it that when I press the SUBMIT button the focus only goes back to the Numeric field. What do I need to do to correct this problem? Sue <html>
2
by: FatBo | last post by:
Dear all, I am writing a Javascript which print a page without prompting the print dialog when the page is loaded. However, there is a warning box prompted out because I am requesting the...
4
by: bosky101 | last post by:
alright ive heard a lot about the onclick being needing to be replaced with click ,and some other healthy practices like that . but im still not able to figure out the problem . my click event is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.