Skip to content

Aliasing Tablename & Viewnames #3950

Closed
Closed

Description

@LRagji

Problem

In certain scenarios URL length is limited by n factors like a old firewall, router etc, plus the need to join tables all happens in the query parameters makes these URLs long..
Also exposing names of tables directly seems like bathing in a transparent bathroom from security angle
Table name are often descriptive and long

Solution

A LUT can be configured by users at the level of postgREST which will alias these Database Objects to solve most of the issues, its like obfuscation..The idea is to avoid long long URLs which may not work in all scenarios with obfuscation if possible.

Eg:
"long_table_name":"ltn"

This way we dont have to change the database objects to fit postgREST into them

Activity

  1. added theissue type on Mar 16, 2025
  2. locked and limited conversation to collaborators on Mar 16, 2025
  3. converted this issue into a discussion #3951 on Mar 16, 2025
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions