Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about WinForms when accessing a Web Service
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00672777
Message ID:
00672782
Vues:
14
Kevin,

>Someone told me that if a WinForm app is utilizing Web Services (say, to access a layer that's connected to SQL Server), that while 'connected' to a Web Service, the WinForm cannot write information to the local hard disk. Apparently, it is because of a new security model in .NET.
>
>This sounds pretty crazy, as a WinForm that is utilizing a Web Service might need to write data locallly (like store user selections, user preferences, etc.)

It sounds like your source might be confusing connecting to Web Services with .NET evidence-based security that determines permissions based on the origin of the code. If you load an assembly from the Internet, it typically shouldn't be able to write to your local hard disk!

For more information, check out the .NET help topic ".NET Framework Security".

Also check out the following url:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/seccodeguide.asp

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform