Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System.Security.Permissions.SecurityPermission

Status
Not open for further replies.

NaiDanac

Programmer
Mar 25, 2004
96
US
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
 
There's a way to use a "secured location" to do what you are trying to do. I can't remember any good keywords off the top of my head (other then "secured location"). I used to have a great link for it, but I can't seem to find it.

-Rick

----------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top