A method for preventing unauthorized access to audio data, the method comprising: receiving, by a processor of the computer, a request from one software process of a plurality of software processes to obtain an audio stream from an audio endpoint device; allocating, by the processor, a data buffer of a plurality of data buffers for the one software process; processing and encrypting audio data received from the audio endpoint device by at least one audio processing object (501, 502), wherein the audio data is associated with the requested audio stream; storing, by the processor, the encrypted audio data in the allocated data buffer; responsive to determining, based on a process identifier associated with the one software process, that the one software process is authorized to obtain the audio stream from the audio endpoint device, installing an interceptor of a API function call for the one software process, wherein installation of the interceptor of the API function call comprises: determining an import table associated with a library used by the one software process and having the API function call; storing in the import table a pointer to the interceptor instead of an original function for the API function call, wherein the interceptor is configured to allow the one software process to read the encrypted audio data in the allocated data buffer; and decrypting the encrypted audio data from the allocated data buffer by the one software process using the interceptor of the API function call. receiving, by a processor of the computer, a request from one software process of a plurality of software processes to obtain an audio stream from an audio endpoint device; allocating, by the processor, a data buffer of a plurality of data buffers for the one software process; processing and encrypting audio data received from the audio endpoint device by at least one audio processing object (501, 502), wherein the audio data is associated with the requested audio stream; storing, by the processor, the encrypted audio data in the allocated data buffer; responsive to determining, based on a process identifier associated with the one software process, that the one software process is authorized to obtain the audio stream from the audio endpoint device, installing an interceptor of a API function call for the one software process, wherein installation of the interceptor of the API function call comprises: determining an import table associated with a library used by the one software process and having the API function call; storing in the import table a pointer to the interceptor instead of an original function for the API function call, wherein the interceptor is configured to allow the one software process to read the encrypted audio data in the allocated data buffer; and decrypting the encrypted audio data from the allocated data buffer by the one software process using the interceptor of the API function call. determining an import table associated with a library used by the one software process and having the API function call; storing in the import table a pointer to the interceptor instead of an original function for the API function call, wherein the interceptor is configured to allow the one software process to read the encrypted audio data in the allocated data buffer; and decrypting the encrypted audio data from the allocated data buffer by the one software process using the interceptor of the API function call.