Amazon AWS SDK Guide de l'utilisateur Page 72 : Security Considerations
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
Security Considerations
Once the DynamoDB table is created and the application is configured, sessions can be used as with
any other session provider.
As a security best practice, we recommend that you run your applications with the credentials of an
AWS
Identity and Access Management (IAM)
user.You can use either the
AWS Management Console
or the
AWS Toolkit for Visual Studio
to create IAM users and define access policies.
The session state provider needs to be able to call the
DeleteItem
,
DescribeTable
,
GetItem
,
PutItem
and
UpdateItem
operations for the table that stores the session data. The sample policy below can be
used to restrict the IAM user to only the operations needed by the provider for an instance of DynamoDB
running in us-east-1:
{
"Version" : "2012-10-17",
"Statement" : [
{
"Sid" : "1",
"Effect" : "Allow",
"Action" : [
"dynamodb:DeleteItem",
"dynamodb:DescribeTable",
"dynamodb:GetItem",
"dynamodb:PutItem",
"dynamodb:UpdateItem"
],
"Resource" : "arn:aws:dynamodb:us-east-1:<YOUR-AWS-ACCOUNT-
ID>:table/ASP.NET_SessionState"
}
]
}
Amazon Elastic Compute Cloud Programming
with the AWS SDK for .NET
The AWS SDK for .NET supports Amazon Elastic Compute Cloud (Amazon EC2), which is a web service
that provides resizable computing capacity—literally, servers in Amazon's data centers—that you use to
build and host your software systems.
Topics
•
Tutorial: Creating Amazon EC2 Instances (p. 68)
•
Tutorial: Amazon EC2 Spot Instances (p. 80)
Tutorial: Creating Amazon EC2 Instances with the
AWS SDK for .NET
You can access the features of Amazon EC2 using the
AWS SDK for .NET
. For example, you can create,
start, and terminate EC2 instances.
Version v2.0.0
68
AWS SDK for .NET Developer Guide
Amazon Elastic Compute Cloud (Amazon EC2)
Fichier PDF · ·
Questions sur Amazon AWS SDK
Pas encore de questions sur ce manuel. Posez la première.
Produits connexes et manuels pour Logiciel Amazon AWS SDK
- Logiciel Amazon Redshift Manuel d'utilisateur
(24 pages) - Logiciel Amazon Redshift Manuel d'utilisateur
(11 pages) - Logiciel Amazon AWS SDK Guide de l'utilisateur
(73 pages)