RE: Deploy Win Form
- From: v-jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]")
- Date: Tue, 27 Sep 2005 08:12:45 GMT
Hi Cadel,
Thanks for your post.
Yes, .Net has the Code access security to only enforce partial trust for
network share application. And defautly, it does not give
SqlClientPermission for network share application.
We can run "Microsoft .NET Framework 1.1 Configuration" tool in the control
panel, then expand "Runtime Security Policy"->"Code Groups"->"All Codes",
right click this node, then select "New...". In the popup dialog, type a
code group name, press "Next", in the next dropdownlist, select "URL", in
the textbox input your Exe's URL, such as
"\\msjeff\temp\ComboBoxTest\ComboBoxTest\bin\Debug\XXX.exe" press "Next".
Select "Full Trust" permission set for this application. Then your network
share running application will have full trust permission on the
application.
Hope this helps.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.
- Prev by Date: Is there any tools let me to build snippets?
- Next by Date: Best performance of a parameterized factory method - 'is' operator or an enumeration ?
- Previous by thread: Is there any tools let me to build snippets?
- Next by thread: RE: Deploy Win Form
- Index(es):
Relevant Pages
|