LocalIntranet FullTrust
-
I have a .net dll(strong named) that I am hosting using tag in IE. When this is hosted over the network, the component is not loaded on to the clients web page and also no error is shown, however if the client sets his local intanet level to full trust - using the .net framework wizards, the component gets loaded. Is there anyway I can read these security settings on the client machine and notify him that he has to set the local intranet option to full trust... or is there any better suggestion for this problem... Please help... this is a very urgent issue Thank you
-
I have a .net dll(strong named) that I am hosting using tag in IE. When this is hosted over the network, the component is not loaded on to the clients web page and also no error is shown, however if the client sets his local intanet level to full trust - using the .net framework wizards, the component gets loaded. Is there anyway I can read these security settings on the client machine and notify him that he has to set the local intranet option to full trust... or is there any better suggestion for this problem... Please help... this is a very urgent issue Thank you
Anushu wrote: Is there anyway I can read these security settings on the client machine and notify him that he has to set the local intranet option to full trust... or is there any better suggestion for this problem... There is a better way. You should not elevate the privileges of a security account unless it is absulutely necessary. In Administrative Tools there is an MMC called "Microsoft .NET Framework 1.1 Configuration", if you open it you will see a tree control on the left there is an item called "Runtime Security Policy". You should determine which is the best option for your situation and set the policy. For instance, you can set the policy to permit .NET assemblies on a specific share or folder to be runnable. Or you can set it to permit only assemblies with a specific strong name and so on. These articles might help: * Configuring Security Policy Using the .NET Framework Configuration Tool[^] * .NET Framework Enterprise Security Policy Administration and Deployment[^] Does this help?
Do you want to know more? WDevs.com - Member's Software Directories, Blogs, FTP, Mail and Forums