473,406 Members | 2,371 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,406 software developers and data experts.

SSL and Code Sign issue

Hi Friends

I have a problem in excel data export thru javascript. we create an excel object from javascript. at that time IE shows the warning message "An Activex ontrol on this page might be unsafe to interect with other part of the page. do you want to allow this interection?" shows. Our client dont want to enable the Unsafe manner chk box in security settings

So we tried to sign the excel object using sign tool and make the certificate to pfx and import in to IIS. after that also the same error message is comming. is there any solution ?

Thanks in advance
Sep 17 '08 #1
3 3816
kenobewan
4,871 Expert 4TB
Hi Friends

I have a problem in excel data export thru javascript. we create an excel object from javascript. at that time IE shows the warning message "An Activex ontrol on this page might be unsafe to interect with other part of the page. do you want to allow this interection?" shows. Our client dont want to enable the Unsafe manner chk box in security settings

So we tried to sign the excel object using sign tool and make the certificate to pfx and import in to IIS. after that also the same error message is comming. is there any solution ?

Thanks in advance
Remember SSL & security are for your benefit too. AOL's Instant Messaging Command Execution, HTML and JavaScript Injection Vulnerabilities

Here is a reference that may help:
Designing Secure ActiveX Controls
Sep 17 '08 #2
Thanks for your reply.

I go thru the ref URL and i signed my excel.exe. but still the warning message is appear in my client side.

I used the following syntax

makecert -r -pe -n "CN=s6072" -b 01/01/2000 -e 01/01/2036 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 -sv key.pvk key.cer

cert2spc key.cer key.spc

signtool signwizard

and then used pvkimport.exe to convert pvk format and add in to IIS SSL Certificate.

Kindly guide me.

Thanks in advance

Soundar
Sep 22 '08 #3
As the continous of the the above problem we request microsoft to assist. They replied with some points.

This behavior is by design. Office applications such as Word, PowerPoint, Excel etc. cannot be automated with CreateObject (VBScript) or ActiveXObject (JScript) unless this security setting allows it. Therefore the problem is not specific to Excel or JScript. The reason that Excel object is not safe from a scripting environment is because Excel can potentially writes to the User’s local file system. For example, although Microsoft Excel is a trusted tool from a reputable source, a malicious script can use its automation model to delete files on the user's computer, install macro viruses, and worse.

To solve this problem, we recommend you choose one of the following options:
1) Add the web site to the trusted sites zone.

-OR-

2) Change the following security setting for the Intranet zone to either Prompt or Enable:
"Initialize and script ActiveX Controls Not Marked as Safe"

-OR-

3) Create your own custom ActiveX control using a language like VB6, MFC, or ATL and in this ActiveX control, write code that automates Excel. This ActiveX control will be signed with a digital certificate and will be marked safe for scripting.


The following article provides more details on this solution when automating Word from a web page:
286023 - HOWTO: Use a VB ActiveX Component For Word Automation From Internet
http://support.microsoft.com/default.aspx?scid=KB;en-us;286023

Ref

Safe Initialization and Scripting for ActiveX Controls
http://msdn.microsoft.com/workshop/components/activex/safety.asp


Now the customer is agreed with the microsoft solution :-)

Thanks a lot

Soundar
Sep 24 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: karen | last post by:
hi, not sure if this is a php issue or an outlook issue or what. trying to send an html message via php, and it looks fine in hotmail, yahoo, and earthlink webmail, but when i receive the same...
4
by: Dave | last post by:
I'm working on a program that will be parsing a protocol. My basic storage element type is an array of characters or char*. The reason I am using char* is because many of the socket and stream...
2
by: Lloyd Dupont | last post by:
I'm writing a .NET 2.0 app I want to deploy it in the net. Apparently (due to an "unknow publisher warning" while downloading in the browser) I have to give a strong name to my installer & my...
6
by: Jason Heyes | last post by:
Does a function exist in the standard library to compute the sign of an integer? Example: int sign(int v) { return v > 0 ? 1 : (v < 0 ? -1 : 0); } Thanks.
8
by: Tony Hedge | last post by:
Hello, A .NET 1.1 web app... I create a hyperlink with a complete filename, and the target is for a new window to open. Right now the filenames are all PDF files. Everything works fine, the...
5
by: Mitchell Vincent | last post by:
I've recently started signing all EXEs that come out of here. I would like to verify the signature at startup to detect any changes to the EXE itself. Is something like that possible? I'm using...
232
by: robert maas, see http://tinyurl.com/uh3t | last post by:
I'm working on examples of programming in several languages, all (except PHP) running under CGI so that I can show both the source files and the actually running of the examples online. The first...
7
by: Kesavan | last post by:
Is there any way to run a function or a code-block whenever the client- server communication breaks off. (ie power-off, browser-crash...) Why I need this is, I want to update a login-table to...
9
by: Phillip B Oldham | last post by:
Are there any FOSS Python Single-Sign-on Servers? We're looking to centralise the sign-on for our numerous "internal" webapps (across multiple servers, languages, and domains) to speed user...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.