]> spindle.queued.net Git - midori/commitdiff
Adjust permissions of saved logins to 0600 when saving logins
authorEnrico Tröger <enrico.troeger@uvena.de>
Sun, 24 Jan 2010 22:40:51 +0000 (23:40 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 24 Jan 2010 22:40:51 +0000 (23:40 +0100)
katze/katze-http-auth.c

index eef0c6a0511ff8971de66ca1c33d3bb6a6520076..f21e14c1df4ab7765b83bbce3a5d6d0231d5a67c 100644 (file)
@@ -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