System.Security.Permissions.SecurityPermission

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: naidanac (wynfordcat_at_gmail-dot-com.no-spam.invalid)
Date: 02/23/05


Date: 23 Feb 2005 17:40:10 -0600

Today I finished creating a user control in VB.NET that I intend on
embedding in web pages. It allows users to send email from a web
page
using their local Lotus Notes client (as opposed to the traditional
SMTP way).

Any way, the user control works beautifuly when run from a windows
application. When I try to run it from the web page I run into
security issues (System.Security...Permision). I believe it is
failing when I execute the Dim/New command:

Dim obj as New Domino.NotesSession

I had no clue why this was happening, but I came accross a few
articles that mention the security envolved with
user controls that are downloaded and run locally.

What I'm hoping you could help me with is to figure out how I can
have
the user control execute fully without having to make modifications
to
the local security policies/trusted sites, etc. I'm deploying this
user control on the company intranet, and I can almost guaruntee that
I will not be allowed to instruct users to change such settings. By
the way, the desktops are all locked down, and I don't believe users
will be able to change such settings even if I could tell them how.

Is there a work around here? I'm very new to assemblies, security,
etc. and I'm a bit lost. Not even sure where to look.

I would greatly appreciate your help

Thanks
Nai Danac

 Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
    ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
                http://www.usenet.com



Relevant Pages

  • Re: Windows .NET forms - controls in IE?
    ... How to run a user control assembly hosted on an Internet Information Server ... permissions than would normally be granted to the zone the assembly belongs ... In Internet Explorer, Internet Options, Advanced Security settings, ...
    (microsoft.public.dotnet.security)
  • Re: host a windows user control File access
    ... If you use the OpenFilemethod you get back a stream that is read only - this works with the Intranet/Internet permission set. ... If you need more - you have to modify the security policy on the client ... program to be a user control and access the data for the controls via ... but it's an internal app. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Security error when running .NET user control in IE
    ... What I would do is use imparative security instead of the declarative security. ... >Subject: Re: Security error when running .NET user control in IE ... >control class Pumpa: ...
    (microsoft.public.dotnet.security)
  • USER CONTROL = WINDOW USER CONTROL (AND NOT WEB )
    ... > i want to build USER CONTROL that will be used in WEB PAGE. ... i guess its somthing with Security and Authorization ... > 1.is it possible to create user control WITH WINDOWS SOCKETS and use it in ...
    (microsoft.public.dotnet.security)
  • Re: User Control saving properties
    ... Robin S. ... Save them to the <Settings> information for the project. ... unique name, such as BarColor1, BarColor2, etc. ... I've got this user control with the following properties: ...
    (microsoft.public.dotnet.languages.vb)