91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.67MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-15
  • 語言: 其他
  • 標簽:

資源簡介

題目1:自主訪問控制實驗; 要求:設計必需的界面環境, (1) 對主體、客體、權限進行定義和配置 (2) 對主體進行自主授權 (3) 對主體的訪問權限進行控制實驗 (4) 對主體進行傳遞授權的操作,通過實驗觀察系統的執行情況 (5) 對訪問成功和不成功的兩種情形均給出結果 要求:設計必需的界面環境, (1) 對主體、客體、權限進行定義和配置 (2) 對角色及角色的層次關系進行定義 (3) 對角色的權限進行定義(有繼承關系的就不用重新定義) (4) 給出用戶-角色多對多關系的配置 (5) 對用戶的角色信息進行修改,通過訪問控制實驗,體現不同層次的角色訪問權限的差別 (6) 對上述實驗情況下訪問成功和不成功的兩種情形均給出結果 寫的不是很好,僅供參考。

資源截圖

代碼片段和文件信息

//?Dac.cpp?:?Defines?the?class?behaviors?for?the?application.
//
//?This?project?was?created?using?the?Worm?Studio?AppWizard
//?
//?Project:?Dac
//?Author?:?王鳳偉
//?Date?:?星期日?三月?14?2010
//

#include?“stdafx.h“
#include?“Dac.h“

#include?“MainFrm.h“
#include?“DacDoc.h“
#include?“DacView.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CDacApp

BEGIN_MESSAGE_MAP(CDacApp?CWinApp)
//{{AFX_MSG_MAP(CDacApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CDacApp?construction

CDacApp::CDacApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDacApp?object

CDacApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CDacApp?initialization

BOOL?CDacApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));

LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)

//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.

CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CDacDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CDacView));
AddDocTemplate(pDocTemplate);

//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);

//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;

//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2010-06-30?09:19??訪問控制實驗\
?????目錄???????????0??2010-03-18?13:57??訪問控制實驗\Dac\
?????文件???????35268??2010-03-17?17:57??訪問控制實驗\Dac\Dac.aps
?????文件????????8530??2010-03-18?00:33??訪問控制實驗\Dac\Dac.clw
?????文件????????4352??2010-03-15?09:30??訪問控制實驗\Dac\Dac.cpp
?????文件????????6671??2010-03-17?22:25??訪問控制實驗\Dac\Dac.dsp
?????文件?????????529??2010-03-14?09:36??訪問控制實驗\Dac\Dac.dsw
?????文件??????208939??2010-03-17?23:52??訪問控制實驗\Dac\Dac.exe
?????文件????????1463??2010-03-14?09:36??訪問控制實驗\Dac\Dac.h
?????文件??????222208??2010-03-18?01:21??訪問控制實驗\Dac\Dac.ncb
?????文件??????170496??2010-03-18?01:21??訪問控制實驗\Dac\Dac.opt
?????文件?????????240??2010-03-18?00:33??訪問控制實驗\Dac\Dac.plg
?????文件???????18583??2010-03-16?16:00??訪問控制實驗\Dac\Dac.rc
?????文件????????1822??2010-03-14?09:36??訪問控制實驗\Dac\DacDoc.cpp
?????文件????????1582??2010-03-14?09:36??訪問控制實驗\Dac\DacDoc.h
?????文件????????2870??2010-03-14?09:36??訪問控制實驗\Dac\DacView.cpp
?????文件????????2058??2010-03-14?09:36??訪問控制實驗\Dac\DacView.h
?????目錄???????????0??2010-03-18?13:57??訪問控制實驗\Dac\DATA\
?????文件?????3145728??2010-06-30?09:30??訪問控制實驗\Dac\DATA\dac.mdf
?????文件?????1048576??2010-06-30?09:30??訪問控制實驗\Dac\DATA\dac_log.ldf
?????目錄???????????0??2010-03-17?23:52??訪問控制實驗\Dac\Debug\
?????文件??????208939??2010-03-17?23:52??訪問控制實驗\Dac\Debug\Dac.exe
?????文件????????7964??2010-03-16?10:44??訪問控制實驗\Dac\ForwardDlg.cpp
?????文件????????1976??2010-03-16?08:38??訪問控制實驗\Dac\ForwardDlg.h
?????文件????????2927??2010-03-16?10:22??訪問控制實驗\Dac\ForwardDlgU.cpp
?????文件?????????841??2010-03-15?16:58??訪問控制實驗\Dac\ForwardDlgU.h
?????文件????????5306??2010-03-17?19:31??訪問控制實驗\Dac\ForwardTo.cpp
?????文件????????1757??2010-03-15?21:13??訪問控制實驗\Dac\ForwardTo.h
?????文件????????2929??2010-03-15?09:52??訪問控制實驗\Dac\InsertUserDlg.cpp
?????文件????????1551??2010-03-15?19:15??訪問控制實驗\Dac\InsertUserDlg.h
?????文件????????2082??2010-03-17?23:52??訪問控制實驗\Dac\LoginDlg.cpp
............此處省略97個文件信息

評論

共有 條評論

相關資源