Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / October 2003

Tip: Looking for answers? Try searching our database.

Sign application to run in intranet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roland Dick - 15 Oct 2003 16:33 GMT
Hi all,

I've got an application written in C# which reads from the registry.
Being started from a network file share, the app crashes. I found out
that you can "Full Trust" the Intranet Zone, which makes the application
running fine; however, since there are a lot of clients working with it,
it would be a better solution (in other words: the customer demands) to
avoid setting the security permissions on each computer.

Therefore, is there any way I can "sign" my application to run in Local
Computer mode instead of Intranet Zone, or to have the security checks
bypassed?

I tried using the sn.exe tool and included the strong name into the
assembly, but still the same problem occurs.

Thank you for any help on that!

Regards,

Roland
Eric Cadwell - 15 Oct 2003 19:45 GMT
Roland,

There are a few ways around that:

Set up a small executable that will load the application locally and
distribute it to each client.

Or

Define a custom permission set, then give the LocalIntranet_Zone group those
rights.

I would create a permission set with the same access as LocalIntranet, then
add Registry access for only the specific Keys they need access to. Then set
the LocalIntranet_Zone code group to use the newly created permission set.
The admin tool helps you evaluate the permissions granted to the assembly.

The policies you set up can also be deployed via the administration tool.
This builds an .MSI file that installs the .config files to the clients
preventing the need to manually configure each machine.

HTH,
Eric Cadwell
http://www.origincontrols.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.