Skip to content

Secure communication between client and server #64

Description

@bobinush

Right now the API URL is in the settings file.
Anyone can “hijack” it to make changes to the data.

How can we secure this? I’m not looking for SSL encryption 2FA “what’s your mother’s maiden name” Fort Knox kinda safety. Just make it a bit harder to mess with.

Since the client is hosted on GitHub pages as a static site we don’t have many options..

Create a cookie and have that sent with every API call? Only accept API calls from certain url origins (CORS?)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions