28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Application-Access File Keyword Options [page 53]<br />

The application-access (.xsaccess) file enables you to specify whether or not to expose package content,<br />

which authentication method is used to grant access, and what content is visible.<br />

4.4.4 Application-Access File Keyword Options<br />

The application-access (.xsaccess) file enables you to specify whether or not to expose package content, which<br />

authentication method is used to grant access, and what content is visible.<br />

The Application Access (.xsaccess) File<br />

The following example shows all possible keyword combinations in the <strong>SAP</strong> <strong>HANA</strong> XS application-access<br />

(.xsaccess) file.<br />

}<br />

{<br />

exposed<br />

{<br />

Note: In the form shown below, the .xsaccess file is not a working model; it is used to illustrate all<br />

possible options.<br />

"exposed" : true,<br />

"authentication" : // null = no auth required,<br />

[<br />

{<br />

"method": "LogonTicket",<br />

},<br />

{<br />

"method" : "Basic"<br />

},<br />

{<br />

"method": "Form",<br />

}<br />

],<br />

"authorization":<br />

[<br />

"sap.xse.test::Execute",<br />

"sap.xse.test::Admin"<br />

]<br />

"rewrite_rules" :<br />

[{<br />

"source" : "...",<br />

"target" : "..."<br />

}],<br />

"mime_mapping" :<br />

[<br />

{<br />

"extension":"jpg", "mimetype":"image/jpeg"<br />

}<br />

],<br />

"force_ssl" : true,<br />

"enable_etags":false<br />

"exposed" : true,<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Setting Up Your Application<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved. 53

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

Saved successfully!

Ooh no, something went wrong!