CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 2/28/2006 4:23:46 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 25 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
mlbrown7
Asp.Net User
IE Client Side Control2/28/2006 4:23:46 PM

0/0

I have an intranet asp.net application that I am hosting a windows control in.  The control is referenced using the <object> tag in the html.  The control interfaces with a usb i/o device on the client machine.  I am getting a runtime security exception when running the page - IE doesn't show the control at all.  I turned on IE debug logging for .net and here is the exception (note, this is all running locally on my machine).


Microsoft.IE.SecureFactory: Trying to create instance of type <url for control>
Microsoft.IE.SecureFactory: System.IO.FileLoadException: Could not load file or assembly '<assembly strong name>' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)

re=neutral, PublicKeyToken=2e437d33ac30a233' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)
File name: '<assembly strong name>' ---> System.Security.Policy.PolicyException: Required permissions cannot be acquired.
   at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission)
   at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission)
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
   at System.Activator.CreateComInstanceFrom(String assemblyName, String typeName, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
   at System.AppDomain.CreateComInstanceFrom(String assemblyFile, String typeName, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
   at System.AppDomain.CreateComInstanceFrom(String assemblyFile, String typeName, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
   at Microsoft.IE.SecureFactory.CreateInstanceWithSecurity(Int32 dwFlag, Int32 dwZone, String pURL, String uniqueIdString, String link, String licenses)

In the .net config mmc, under Machine/Code Groups/All_Code i created an entry called localhost, uisng url condition of http://localhost/MyTestSite/*, and set the permission set to full trust.  I also have this website set as a local intranet site in internet explorer and have basically set all the security for that zone to allow all types of scripts and controls.

Any suggestions or help would be appreciated.  Thanks!!!

Matt

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
VBScript Programmer's Reference: Programmer's Reference Authors: Adrian Kingsley-Hughes, Daniel Read, Pages: 773, Published: 2007
Gray Hat Hacking: The Ethical Hacker's Handbook Authors: Shon Harris, Allen Harper, Chris Eagle, Jonathan Ness, Pages: 550, Published: 2007
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Programming ASP.NET: Building Web Applications and Services with ASP.NET 2.0 Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2005
Professional Web Parts and Custom Controls with ASP.NET 2.0 Authors: Peter Vogel, Pages: 449, Published: 2005
Pro ASP. Net 3. 5 Server Controls and AJAX Components Authors: Rob Cameron, Dale Michalk, Pages: 740, Published: 2008
Developing Microsoft ASP.NET Server Controls and Components Authors: Nikhil Kothari, Vandana Datye, Pages: 689, Published: 2002
ASP.NET by Example Authors: Steven A. Smith, Pages: 527, Published: 2002
.NET Framework Essentials Authors: Thuan L. Thai, Hoang Q. Lam, Pages: 363, Published: 2003
Pro ASP.NET 2.0 in VB 2005: special edition. Authors: Laurence Moroney, Matthew MacDonald, Pages: 1360, Published: 2006

Web:
DHTML and .NET: Host Secure, Lightweight Client-Side Controls in ... I'm writing privileged client-side code, so I can include some other information ..... Internet Explorer will sink a control's default source interface and ...
AspEncrypt.com - Use AspEncrypt as a Client-side ActiveX Control Using XEncrypt under IE. The XEncrypt ActiveX control resides in the same DLL ... To use XEncrypt on the client side, your web page must reference it using ...
Netscape, IE and client side validation in ASP.NET Freeware ... NET by Superdotnet.com - Netscape, IE and client side validation in ASP. ... control, which perform validation both in client side and server side. ...
Server-side control objects for processing client-side user ... Jan 22, 2008 ... A second library, in contrast, is a client-side control class library .... data is generated (i.e., rendered) from the server-side control ...
ASP.NET controls make client-side validation a snap Sep 23, 2004 ... You can change a validation control’s behavior from the default client-side validation to server-side validation by setting the control’s ...
"Client-side" validation not working for custom server control in IE Talk about "Client-side" validation not working for custom server control in IE.
VUPEN Security - Microsoft Internet Explorer Outlook View Control ... Title : Microsoft Internet Explorer Outlook View Control Client-Side Denial of Service Vulnerability Advisory ID : VUPEN/ADV-2006-2915 ...
Web Q&A: Client-side Cookies, Unchecking Checkboxes, Microsoft.com ... The MSDN® Online article "Persistent Client Side Data Using Cookies" shows how ... Q I'm trying to use the Internet Explorer object within a Microsoft Office ... A To catch the events fired from the Microsoft WebBrowser control in a ...
Implementing client-side events using the BrowserTextControl ... This client-side call should be triggered by the wrapper control when the user ... Internet Explorer to execute client-side controls like ActiveX controls, ...
Using csXImage as a client side control in a browser. csXImage can be used in a browser as a client side control using Javascript .... signed and they will only run on a Windows platform in Internet Explorer. ...

Videos:
HTML forms Next Generation Google Tech Talks March 5, 2007 ABSTRACT Web-based replacements for spreadsheets and simple forms By Dave Raggett, W3C Fellow and ...
XML11: An Abstract Windowing Protocol Google TechTalks June 1, 2006 Arno Puder Arno Puder received his masters and Ph.D. in computer science and is currently working as an ...
Web Applications and the Ubiquitous Web Google TechTalks February 1, 2006 Dave Raggett Dave Raggett is currently a W3C Fellow from Canon, and W3C Activity Lead for Multimodal ...
Zero Configuration networking with Bonjour Google TechTalks November 2, 2005 Dr. Stuart Cheshire, Apple Computer http://www.stuartcheshire.org/ ABSTRACT The desirability of making ...
How To Break Web Software - A look at security ... Google TechTalks April 13, 2006 Mike Andrews Mike Andrews is a senior consultant who specializes in software security and leads the web ...
Cisco Wireless Control System Navigator Video Data Sheet Learn how the Cisco Wireless Control System Navigator delivers enhanced visibility of large scale Cisco Unified Wireless Network implementations ...
pulse jet bag filter for de dusting ‘TECHFLOW®’ & ‘TUFF®’ AIR POLLUTION CONTROL SYSTEMS FOR METAL MELTING FURNACE FUMES TECHFLOW, a leading pollution control systems innovator ...
Installing Ubuntu with Windows Dual-Boot This screencast shows how to install Ubuntu on a system that already has Windows installed.
Charlie Rose - Anthony Cordesman / Haley Barbour / E ... Segment 1: Guest host Mark Whitaker talks to Anthony Cordesman from the Center for Strategic & International Studies about the death of Abu Musab ...
Charlie Rose - Author Jed Perl; Nicolai Ouroussoff ... Charlie Rose - Author Jed Perl; Nicolai Ouroussoff, architecture critic.




Search This Site:










two question

bug report: core module documents, "upload new file" don't display untill file location dropdownlist changed

screen capture via snagit and asp. net

convert code behind to inline code

adding "onclick" javascript to a datagrid

skin upload error

accessing aspnetdb.mdf on a remote server

switching dataprovider

build problem

vision impaired skin

how can one hide the border of an asp:listbox control

check for record

how to solve my problems?

object reference not set to an instance of an object.

composite controls & postback

encrypting cookies

menu

cannot copy assembly 'dotnetnuke' to file '<assemly>'. the process cannot access the file because it is being used by another process.

pass a parameter to a ilink frame

how to make home page loading faster?

can i access the querystring in a control?

how to maintain curreny format with databinding manupulation

help adding google maps api to asp.net application

browsable property in basepage class

stupid question number 2

parameter count does not match parameter value count.

install error on local webserver for dnn 3.2.1

login control loses viewstate

'hasrows' is not a member of 'system.data.idatareader'

how do i go to other pages using buttons in vbcodes in vwb

 
All Times Are GMT