Re: How to determine what permissions are required for an assembly
From: Hernan de Lahitte (hernan_at_lagash.com)
Date: 02/25/04
- Next message: cybertof: ".dll assembly security changes at each compilation"
- Previous message: Hernan de Lahitte: "Re: How to determine what permissions are required for an assembly"
- In reply to: Hernan de Lahitte: "Re: How to determine what permissions are required for an assembly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 25 Feb 2004 10:44:33 -0300
Sorry, this was for another post.
"Hernan de Lahitte" <hernan@lagash.com> wrote in message
news:eZJF9S6%23DHA.916@TK2MSFTNGP10.phx.gbl...
> I think you should follow the "classic" network share guideline for this
> scenario.
>
> I recently posted a similar answer to this.
>
> 1.. On the Web server, open Administrative Tools, and then double-click
> Microsoft .NET Framework Configuration.
>
> 2.. Expand Runtime Security Policy, expand Machine, and then expand Code
> Groups.
>
> 3.. Right-click All_Code, and then click New.
>
> 4.. Select Create a new code group. Give your code group a relevant
name,
> such as the name of the applications share. Click Next.
>
> 5.. In the Choose the condition type for this code group list, select
URL.
>
> 6.. In the URL text box, type the path of the share in the following
> format (where computername is the name of the computer that is hosting the
> remote share, and sharename is the name of the share):
> file:////\\computername\sharename\*7.. Click Next.
> On the next page, select "Use an existing permission set" and then select
> FullTrust.
> Note: If your assembly does not require FullTrust it is far better to
create
> your own
> named permission set with only the required permissions to execute all the
> application. (In this case, SQL Client ans Security (Execution)
permissions
> might be used).
>
> 8.. Click Next, and then click Finish.
> I hope this help.
>
>
> "surya" <suryanarayanan.varadarajan@honeywell.com> wrote in message
> news:%234hTcP5%23DHA.3184@TK2MSFTNGP09.phx.gbl...
> > Hi,
> >
> > I need an application to load signed assemblies from the network share.
> The
> > assembly in the network share connects to SQL Server database using the
> SQL
> > Server .Net provider. Because it is loaded from the share folder, the
> > assembly gets "Local_Intranet" permissions. The Local_Intranet
permissions
> > does not have enough permissions to connect to the SQL Server DB. What
> > permissions should I add to allow this assembly connect to the DB?
> >
> > Help is greatly appreciated
> >
> > Regards
> > Surya
> >
> >
>
>
- Next message: cybertof: ".dll assembly security changes at each compilation"
- Previous message: Hernan de Lahitte: "Re: How to determine what permissions are required for an assembly"
- In reply to: Hernan de Lahitte: "Re: How to determine what permissions are required for an assembly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|