Ask a Question related to ASP.NET Security, Design and Development.
-
Greg Stangler #1
Embedded object runs unsigned, but fails when signed.
After clearing all CAS policies (caspol -q -reset), I access the component
defined below through an embedded <object> tag in a simple html page.
When the assembly is unsigned , the MessageBox displays, but when the
assembly is signed the component no longer runs. I suspect that this has
something to do with the AppDomain the IE is running in and what it does to
check policy.
Can someone explain why this benign component succeeds when it is unsigned,
and fails when it is signed. I'm confused because the component is benign,
and makes no attempt to access protected resources.
Component Sample: Create as windows library (VS2003) or windows control
(Whidbey)
=================================================
using System;
using System.Windows.Forms;
namespace testspace
{
public class MyComponent : System.Windows.Forms.UserControl
{
public MyComponent ()
{
MessageBox.Show("MyComponent is Alive");
}
}
}
Greg Stangler Guest
-
#39533 [NEW]: ord() cast with (unsigned char), chr() with (signed char)
From: fred at cashette dot com Operating system: * PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug description: ... -
rtmps with self-signed cert fails, while rtmp and rtmpt work ok
Hello, first of all: I have setup a simple test case for my problem here, with all my settings and the problem described: ... -
Powerpoint fails to show illustrator EMF pictures embedded in the ppt files
I use Illustrator 10.0.3 to create drawings and charts for use in powerpoint slides. To preserve the quality, I export them as EMFs (enhanced... -
#7568 [Opn->WFx]: 64-bit integers, 32-bit unsigned and 64-bit unsigned
ID: 7568 Updated by: helly@php.net Reported By: simon at comsys dot ntu-kpi dot kiev dot ua -Status: Open... -
#7568 [Com]: 64-bit integers, 32-bit unsigned and 64-bit unsigned
ID: 7568 Comment by: tomer at parity-bit dot com Reported By: simon at comsys dot ntu-kpi dot kiev dot ua Status: ...



Reply With Quote

