11.07.2015 Views

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

Improving Web Application Security: Threats and - CGISecurity

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

710 <strong>Improving</strong> <strong>Web</strong> <strong>Application</strong> <strong>Security</strong>: <strong>Threats</strong> <strong>and</strong> CountermeasuresAuthorization (continued)Check DescriptionComponent-level access checks are enforced for all serviced components. Classes areannotated with:[ComponentAccessControl(true)]To support method-level security, the [<strong>Security</strong>Method] attribute is used on classes ormethod implementations, or the [<strong>Security</strong>Role] attribute is used on methodimplementations.Configuration ManagementCheck DescriptionServer applications are configured to run with least-privileged accounts.Server applications only run using the interactive user account during development.Object constructor strings do not contain plain text secrets.Sensitive DataCheck DescriptionIn the absence of IPSec encryption, RPC encryption is used to secure sensitive data over thenetwork in the absence of an IPSec infrastructure. Serviced component assemblies that useRPC encryption include:[assembly: <strong>Application</strong>AccessControl(Authentication = AuthenticationOption.Privacy)]Auditing <strong>and</strong> LoggingCheck DescriptionUser transactions are logged to an event log. The audit record includes original caller identityfrom <strong>Security</strong>CallContext.OriginalCaller.Deployment ConsiderationsCheck DescriptionPort ranges are defined if you use dynamic port range allocation OR static endpoint mappingis configured.Secrets are not stored in object constructor strings. Secrets such as database connectionstrings are encrypted prior to storage.The server application run-as account is configured as a least-privileged account.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!