Data Danger Posted March 25, 2006 Posted March 25, 2006 Hi All Can you stop a .net program from running over a intranet even if the clients machine as full right permissions granted? and is there a way to find out what permission set (code group) is being used when starting your program? Regards Paul Quote
Administrators PlausiblyDamp Posted March 26, 2006 Administrators Posted March 26, 2006 The command line tool caspol.exe might be of some help. Try caspol -rsp caspol -rsg Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Data Danger Posted March 26, 2006 Author Posted March 26, 2006 Hi Thank you for your time. The caspol just tells me that FullTrust is needed which I already no. This will mean that if a clients machine has fulltrust set on their intranet then the program will still run. What I,m looking for is, within my program how can I tell if the program was started over a intranet if it is started from a network place then application.Startup will display <\\server> so I can deal with this, but how can I tell if it is started from a mapped shared drive. I do not want my program to be started over a intranet or a internet location. Any ideals Regards -Paul Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.