Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Hide security-relevant data from frontend #259

@Raukze

Description

@Raukze

Is your feature request related to a problem? Please describe.

I thought that the Login feature of this project will prevent others from being able to see my passwords in the config. This is why I was a little concerned when I saw that the entire config file (containing the plain text mail account pwd) is visible to anyone loading any page of Photobooth through the browser. So for me it doesn't make sense to use the mail feature anymore because I know anyone will be able to see my mail password.

Describe the solution you'd like

First of all I am not very experienced in web development. What I'd suggest (but do not know if it's technically possible) is to have a separate config file for secrets (such as passwords) which can only be accessed by and used within certain functionalities (e.g. the APIs). So making use of encapsulation is the basic concept I'd suggest to make this do.

Describe alternatives you've considered

Additional context

Bildschirmfoto 2021-06-21 um 12 05 34

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestsecurityPull requests that address a security vulnerability

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions