Re: Security error when running .NET user control in IE

From: Crirus (Crirus_at_datagroup.ro)
Date: 01/29/04


Date: Thu, 29 Jan 2004 14:39:16 +0200

I have a application, embedded in IE (html assambly).
That aplication need to connect back to the server in order to get some
data.
What are conditions to succeed without requesting any special permissions
from client? As an applet do it....
Should I connect back to the server only using port 80?
Right now the client app is serverd by Apache and connection back is tryed
to another aplication on port 9500

any thoughts?

-- 
Cheers,
    Crirus
------------------------------
If work were a good thing, the boss would  take it all from you
------------------------------
""Shawn Farkas"" <shawnfa@online.microsoft.com> wrote in message
news:TqOazgd5DHA.3736@cpmsftngxa07.phx.gbl...
> Hi Jonas,
>
> You're running into an issue where IE is hitting the AppDomain your
control is living in, and that AppDomain doesn't have the trust you
> need.  For more details check out:
>
> http://blogs.msdn.com/shawnfa/archive/2003/06/26/57026.aspx
>
> -Shawn
> http://blogs.msdn.com/shawnfa
>
> -- 
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> Note:  For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
> originated.
> --------------------
> >From: "Jonas" <jonas@nospam.pl>
> >Subject: Security error when running .NET user control in IE
> >Date: Wed, 28 Jan 2004 17:46:32 +0100
> >Lines: 18
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <e$0VH5b5DHA.1292@TK2MSFTNGP11.phx.gbl>
> >Newsgroups: microsoft.public.dotnet.security
> >NNTP-Posting-Host: 213.80.79.106
> >Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.
phx.gbl
> >Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.security:4662
> >X-Tomcat-NG: microsoft.public.dotnet.security
> >
> >Hi!
> >
> >I am creating a control that allows the user to upload file via ftp to a
> >remote site, so I have to get permissions for local hard drive access and
> >socket access.
> >
> >I've tried trusting my dll in the .NET Framework Configuration, but I
still
> >get a SecurityPermission error when calling my control from Javascript.
If I
> >use it from an ordinary WinForm, it runs without any problems.
> >
> >Do you have any tips on how to proceed?
> >
> >Brgds
> >
> >Jonas Hilmersson
> >
> >
> >
> >
>
>


Relevant Pages

  • Asp.net Important Topics.
    ... ASP.NET server controls contained within the page. ... A custom server control is ... can also perform validation using client script. ... Where does the Web page belong in the .NET Framework class hierarchy? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Entwicklung von Unix-Anwendung mit C++ (m/w)/ NRW : Ref.-Nr.: 37302/1
    ... I am responsible for design and implementation of the persistent data server working with mySQL. ... Developed within very short time the product was successfully installed ... Reengineering and implementing a display tool for Experimental Physics Industrial Control System ... Developed an operator interface under X Window for High Energy Physics Accelerator Control System. ...
    (de.markt.arbeit.d)
  • Software engineer
    ... I have a BS in Electrical Engineering and computer science and worked on my ... I have also been involved in hardware design. ... Developed an ATL DCOM based Server and MFC client GUI using Visual C++6.0. ... User can control the data acquisition parameters by modifying the script file. ...
    (FreeBSD-Security)
  • WWWOFFLE - Web proxy with features for dial-up users
    ... The WWWOFFLE programs simplify World Wide Web browsing from computers that use ... The WWWOFFLE server is a proxy web server with special features for use with ... Interactive or command line control of online/offline/autodial status. ... Requests compressed pages from web servers (compile time option). ...
    (comp.os.linux.announce)
  • Re: OWC and Analysis Services (cross-post)
    ... server himself. ... Server B on same domain hosts web-page with the PivotTable control. ...
    (microsoft.public.sqlserver.olap)