RE: Deploy Win Form



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.

.



Relevant Pages

  • Re: Least User Priviledges for Network Administrators
    ... Trust how? ... Do we trust them to maintain network equipment? ... Do we trust them to observe proper security practices on the desktop, ... Training users that need administrator access to logon as a regular ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Are you a good driver? Prove it!
    ... They track network connectivity down to the individual. ... > any time I want to, but I don't abuse this power. ... We are expected to trust you (and me, I do the same things with ...
    (misc.transport.road)
  • Re: Problem with setup VPN and Trust on 2 Win 2003 domains
    ... I was able to get the trust set up, ... > resolved and the server is available." ... We are trying to set up a VPN and then ... >> subnet than our network. ...
    (microsoft.public.windows.server.networking)
  • Re: OLAP and VPN / authentication / trust
    ... You need Network 2 to trust Network 1 users to access the resources on ... This is the essence of a "Trust Relationship". ... attempt to connect to a SQL server on Network2 using credentials like ...
    (microsoft.public.sqlserver.olap)
  • Re: Floating Computer between domains
    ... "JoshG" wrote in message ... If your domains are in the same forest, they automatically trust each other, ... can manage your network password access through the local user account under ... > I need the workstation machine to be able to float between the two ...
    (microsoft.public.windows.server.active_directory)