SQL Anywhere provides means to ensure that the transfer of client files does not permit the unauthorized transfer of data residing on the client computer, which is often in a different location than the database server computer.
To do this, the database server tracks the origin of each executed statement, and determines if the statement was received directly from the client application. When initiating the transfer of a new file from the client, the database server includes information about the origin of the statement. The CmdSeq file handler then allows the transfer of files for statements sent directly by the client application. If the statement was not sent directly by the client application, the application must register a verification callback. If no callback is registered, the transfer is denied and the statement fails with an error.
Also, the transfer of client data is not allowed until after the connection has been successfully established. This restriction prevents unauthorized access using connection strings or login procedures.
To protect against attempts to gain access to a system by users posing as an authorized user, consider encrypting the data that is being transferred.
SQL Anywhere also provides the following security mechanisms to control access at various levels:
Server level security The read_client_file and write_client_file secure features allow you to disable all client-side transfers on a server-wide basis.
Application and DBA level security The allow_read_client_file and allow_write_client_file database options provide access control at the database, user, or connection level. For example, an application could set this database option to OFF after connecting to prevent itself from being used for any client-side transfers.
User level security The READ CLIENT FILE and WRITE CLIENT FILE system privileges provide user level access control for reading data from, and writing data to, a client computer, respectively.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0|