AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.11.2006, 01:36   #1  
Blog bot is offline
Blog bot
Участник
 
25,491 / 846 (79) +++++++
Регистрация: 28.10.2006
casperkamal: Code Access security
Источник: http://casperkamal.spaces.live.com/B...CD63!158.entry
==============

 
 
       The new Dynamics Ax 4.0 release proivdes more tighter security access over API's System tables, and System level classes. I am really  delighted with the leap jump in the security portion which is imperative in todays scenario......
I have listed out the new security classes that have been added to Ax  
      SqlStatementExecutePermission
      SqlDataDictionaryPermission
      SkipAOSValidationPermission
      RunAsPermission
      InteropPermission
      ExecutePermission
      CodeAccessPermission
      FileIOPermission


     
      For Example if you are using Sysdictclass.callobject method with the new security structure it would be something like this
 
      ExecutePermisssion::Assert();     
    SysDictClass.callobject(.........);
 
and also remember to call the revertassert option, when ever you are access to the secured system class is complete
 
 
     The Class codeAccessSecurity is an abstract type and you will have to extend it too. SysDatabaseLogPermission class is a good example which would explain you about exending and using the codeAccessSecurity permisssion class (you can expect a post on this soon).
   
     The Best Practice compiler is so designed to give you a Best practice warning. whenever you feel that you don't need to use the security classes , just write //BP Deviation Documented above the line to avoid BP warning
 
 
      //BP Deviation Documented
      SysDictClass.callobject(.........);
          
   
hope right now you would be in sync to explore more about it....????, just have a look in to this doc which will help you better explore
 
 
     Writing secure X++ code
     
 
 
  ..............  feeling secure
 



Источник: http://casperkamal.spaces.live.com/B...CD63!158.entry
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Code Access Security - ошибка Best Practice Vhaldemar DAX: Программирование 9 05.11.2008 11:48
casperkamal: Using record templates in code for Dynamics Ax 4.0. Blog bot DAX Blogs 0 10.05.2008 19:14
Inside Dynamics AX 4.0: The Security Framework Blog bot DAX Blogs 0 31.10.2007 11:40
casperkamal: A small addition to creation of Table throug x++ code in Dynamics Ax Blog bot DAX Blogs 0 03.04.2007 23:11
casperkamal: Parsing Source Code Blog bot DAX Blogs 1 11.01.2007 12:56

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 12:18.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.