> i am actually using the MS press book to prepare my exam and I have to
> say that they make great effort on this one...reaaly nice content and
> clear example
>
> "Dominick Baier" wrote:
>
>> IMO the best book ever about CAS was ".NET Framework Security" by
>> Brian LaMachia et al.
>>
>> Unfortunately it is out of print now - but you may be able to find a
>> used copy...
>>
>> ---
>> Dominick Baier, DevelopMentor
>>
http://www.leastprivilege.com >>> hi,
>>>
>>> CAS has been introduced in order to offer the possibility to fine
>>> tune
>>> access to ressources by your application in order to give it only
>>> the
>>> necessary rights to prevent potential hacking..
>>> CAS has a wide range of possibilities. for instance you are able to
>>> protect
>>> the xecution of certain function in your code that is allowed to
>>> ruin
>>> only if
>>> you are under a certain group.
>>> CAS offer also the possibility to refuse to run an assembly if it
>>> does
>>> not have a minimum of permission. For instance imagine that your
>>> asssembly need to access to a File on the system, then it needs to
>>> get
>>> the fileIo permission. If this permision is not set when you execute
>>> your assembly it will not run.
>>> CAS policy offer also the possibility to set some predifines
>>> security rules depending on where you code is executed. Internet or
>>> Local machine. YOu can check those groups from the CAS configuration
>>> tools in control panel.
>>>
>>> Remember one think is that CAS come on top of NTFS rights, which
>>> means that you cannot allow with CAS the rights to delete a file if
>>> the current logon right prevent for it.
>>>
>>> This is just a breif idea, but theire is a lot more which cannot
>>> details all here.
>>>
>>> Hope it helps s bit
>>> Regards
>>> serge
>>> "Ken Varn" wrote:
>>>> I have looked at several books and tutorials on .NET Security and
>>>> frankly, I am in a fog on Code Access Security. I don't get it.
>>>> Could someone please explain the need for CAS and some practical
>>>> examples of why and when it is necessary to implement it?
>>>>
>>>> --
>>>> -----------------------------------
>>>> Ken Varn
>>>> Senior Software Engineer
>>>> Diebold Inc.
>>>> EmailID = varnk
>>>> Domain = Diebold.com
>>>> -----------------------------------