Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 31, 2007 11:17 AM by UmerTahir
Oct 09, 2007 11:37 AM|LINK
My web applications embeds a 'windows controls' application in it which requires the following settings on each client machine to give 'FullTrust' to my web application on 'Machine' level code:
1. From the Start menu, point to Administrative Tools, and then click
Microsoft .NET Framework 2.0 Configuration.
If you don't have Administrative Tools on the Start menu, from the
Control Panel open Administrative Tools, and then double-click Microsoft .NET Framework 2.0 Configuration.
2. Under My Computer, expand the Runtime Security Policy node, the
Machine node, Code Groups node, the All_Code node, and then right-click the
All_Code node and click New to open the Create Code Group dialog box.
3. Name the new code group 'MY WEB APPLICATION NAME', and then click Next.
4. Select a 'Site' membership condition from the drop down box
5. Under 'Site name' type in the URL to my web application
7. To apply the new settings, close and restart Internet Explorer
Now the problem is that I cannot expect every client to do the above settings manually on their system, so how would I do the above settings at client's end through my website without the client side user not getting involved in this messy business?
Any suggestion will be much appreciated.
Oct 11, 2007 05:40 AM|LINK
It is not possible for the server side code to force the client side web browser to trust web server – security restriction – web application should not do anything bad on clients.
Hmm, What about using CasPol.exe to Fully Trust a website? This may simplify your operations.
Please run the following code in command line.
%windir%\Microsoft.NET\Framework\v2.0.50727\caspol -quiet -m -ag All_Code -url "http://localhost/*" FullTrust
Oct 11, 2007 02:25 PM|LINK
That's a great way of saving hassle from going step by step over the phone to the client and create a node.
Now, is there anyway I can have some kinda dialog box saying out about Terms n conditions etc. asking fro client's permission to run the code and if they click on yes then this command line creates a code behind it for thepage until the next windows control
Thanks for your reply.
Oct 12, 2007 06:11 AM|LINK
Windows Script Host will let you access to the windows command-line by script. But it's restricted and unsafe.
I suggest you guide user through a demonstrate picture on how this embedded 'windows controls' works.
Oct 30, 2007 03:57 PM|LINK
Is there anyway I can capture values from text labels and datarow from the global variables defined within the 'windows control' and access it on my web application on which the 'windows control' is embedded?
Oct 31, 2007 02:37 AM|LINK
This privacy information will not send by browser. One approach may be use
embed Activex control. But this technology is not support in FireFox browser.
Oct 31, 2007 11:17 AM|LINK
Are there any examples of embeded Activex Control?