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 / Security / January 2007

Tip: Looking for answers? Try searching our database.

Why a ClickOnce Trusted Application don't failed when I change my Code groups Security params ???

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
azerty - 25 Jan 2007 17:50 GMT
Hello !

I develop an .NET C# 2.0 test application witch requires SecurityPermission
for accept unmanaged calls.

>> If I Execute this application from c:\ ... Application work fines ! ok
>> ...

with mscorcfg.msc application :

>> If I change the association between code group "My Computer Zone" and
>> "FullTrust" PermissionSet to "Nothing"
>> I Execute this application from c:\ ... Application dont work ! perfect !
>> is normal ...
>> I Repeat the "Nothing" Action on all Code group of My Computer strategie
>> (LocalIntranet, Internet, Restricted, etc. ...)

>>> If I deploy my Application With ClickOnce from an intranet Server (after
>>> specify the correct permission on Security Windows of Visual Studio
>>> 2005)

>> My ClickOnce application work every time !!!

So, my question is :
Why an ClickOnce application works fine even if Code Access Security of my
competer said "No, this application will not work fine ..."

thanks a lot for your help !!!

Best regard
Dominick Baier - 26 Jan 2007 06:22 GMT
ClickOnce apps use the sandboxing API introduced in 2.0 - this API is independent
from the CAS policies...

look through Shawn's blog for more info

blogs.msdn.com/shawnfa

-----
Dominick Baier (http://www.leastprivilege.com)

> Hello !
>
[quoted text clipped - 28 lines]
>
> Best regard

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.