Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 4th, 2004, 01:36 AM
Registered User
 
Join Date: Feb 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Security for assemblies run under WebService

Hi all,
I have created an n-tier WinForm application using web-service as the communications between client and business objects.
The business components need to access the registry to retrieve the database connection string, the Event Viewer to record errors, and to write to a log file on the local drive.
If I was using COM+, the components would run in a package which would in turn run under a specified NT account.
How can I get my .Net assemblies to run under a specific account without using COM+?

Regards
     Peter

 
Old February 4th, 2004, 10:46 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

This will help you out. It is not being pushed by Microsoft yet. But they will make a big deal about it when Whidbey comes out.

http://msdn.microsoft.com/netframewo...artclient.aspx

Basically you set up and executable and put it on a web server. You link to it on a page and the user can click on it and the executable pops up in a sandbox. You can give it special permissions to read and write to the hard drive of the user. I have a demo if you want me to send you a link to it.

 
Old February 4th, 2004, 03:20 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Peter,

I think what you might need to look into is Code Access Security.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
The class is configured to run as a security ID di marko2748au Pro VB Databases 2 January 20th, 2011 11:42 PM
Code Access Security & Role Based Security robzyc C# 6 April 11th, 2008 02:31 AM
Assemblies smashingpravin .NET Framework 1.x 1 January 2nd, 2007 02:10 AM
Using Custom Assemblies dlwiii BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 2 December 27th, 2004 01:36 PM
Assemblies leeperm C# 2 April 29th, 2004 08:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.