From: Enrico Tröger Date: Sun, 24 Jan 2010 22:40:51 +0000 (+0100) Subject: Adjust permissions of saved logins to 0600 when saving logins X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af7d9428e702ee89a205fdc97aef3a5c6c288885;p=midori Adjust permissions of saved logins to 0600 when saving logins --- diff --git a/katze/katze-http-auth.c b/katze/katze-http-auth.c index eef0c6a0..f21e14c1 100644 --- a/katze/katze-http-auth.c +++ b/katze/katze-http-auth.c @@ -110,6 +110,7 @@ authentication_message_got_headers_cb (SoupMessage* msg, fprintf (file, "%s\t%s\t%s\n", opaque_info, login->username, login->password); fclose (file); + g_chmod (save->http_auth->filename, 0600); } } else