Welcome! Log In Create A New Profile

Advanced

Re: How to encrypt proxy cache

Maxim Dounin
April 03, 2017 11:16AM
Hello!

On Mon, Apr 03, 2017 at 09:21:10AM -0400, sachin.shetty@gmail.com wrote:

> We are testing using nginx as a file cache in front of our app, but the
> contents of the proxy cache directory are readable to any body who has
> access to the machine. Is there a way to encrypt the files stored in the
> proxy cache folder so that it' not exposed to the naked eye but nginx
> decrypts it on the fly before serving it to the user.

Files in the proxy cache folder are protected using normal access
control, nginx uses 0600 access mask for all cache files and
directories. They aren't expected to be readable by anyone except
nginx itself. This is believed to be enough to prevent any
unauthorized access on software level.

If you also want to protect data from attackers with physical
access to the server, consider using disk encryption and/or
filesystem-level encryption. It is not likely to solve the
problem completely, but may help in some simple cases.

--
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to encrypt proxy cache

sachin.shetty@gmail.com April 03, 2017 09:21AM

Re: How to encrypt proxy cache

Anonymous User April 03, 2017 11:14AM

Re: How to encrypt proxy cache

Maxim Dounin April 03, 2017 11:16AM

Re: How to encrypt proxy cache

sachin.shetty@gmail.com April 03, 2017 11:50AM

Re: How to encrypt proxy cache

dewanggaba April 03, 2017 07:56PM

Re: How to encrypt proxy cache

sachin.shetty@gmail.com April 03, 2017 10:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready